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

$(selector).select2('close') throw a error #5004

Closed
MadSummer opened this issue Aug 5, 2017 · 2 comments
Closed

$(selector).select2('close') throw a error #5004

MadSummer opened this issue Aug 5, 2017 · 2 comments

Comments

@MadSummer
Copy link

$(selector).select2('close')
if the selector is not init select2,this code may throw a error ,how can i handle the error with options?
i think this is a internal error,and no need to throw out ,bucause this may interrupt other code run

@alexweissman
Copy link
Contributor

kevin-brown pushed a commit that referenced this issue Sep 12, 2019
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

3 participants