You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be an issue with my implementation, so I apologise if it is, but I've been unable to use destroy() to successfully reset the select element and I don't think I've understood it correctly.
With select2, they have a destroy() method that resets all changes to the DOM and restores the select, which is great, but it seems selectize just removes all options from the select? I've looked at the selectize object and I've been unable to find a copy of the initial select object (before it's selectized).
Does this functionality exist? If not, is it perhaps planned?
The text was updated successfully, but these errors were encountered:
This may be an issue with my implementation, so I apologise if it is, but I've been unable to use destroy() to successfully reset the select element and I don't think I've understood it correctly.
With select2, they have a destroy() method that resets all changes to the DOM and restores the select, which is great, but it seems selectize just removes all options from the select? I've looked at the selectize object and I've been unable to find a copy of the initial select object (before it's selectized).
Does this functionality exist? If not, is it perhaps planned?
The text was updated successfully, but these errors were encountered: