Reinitialize or destroy select (Livewire) #268
Answered
by
oyejorge
andreasmatuszewski
asked this question in
Q&A
-
Is there a way to reinitialize or destroy the select like in Select2 ($('#mySelect2').select2('destroy');)? I want to use it for a select field within a modal in a Livewire Component. Has someone any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
oyejorge
Nov 19, 2021
Replies: 1 comment 3 replies
Answer selected by
andreasmatuszewski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://tom-select.js.org/docs/api/#destroy