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
I am currently working on a localized single page application using angular2.
Is there a way to switch the language of select2 without reinitializing the control ?
Any help would be greatly appreciated.
Alex
The text was updated successfully, but these errors were encountered:
You can cleanly destroy Select2 by calling select2('destroy'). You likely won't see any issues from there unless you are using the data option, which will re-create the options.
Hey,
I am currently working on a localized single page application using angular2.
Is there a way to switch the language of select2 without reinitializing the control ?
Any help would be greatly appreciated.
Alex
The text was updated successfully, but these errors were encountered: