Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert functionality? #153

Closed
JackEllis opened this issue Oct 13, 2013 · 1 comment
Closed

Revert functionality? #153

JackEllis opened this issue Oct 13, 2013 · 1 comment

Comments

@JackEllis
Copy link

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?

@brianreavis
Copy link
Member

This is fixed in 0.8.1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants