Options not refreshed


#1

So I have a initialization script that populates my select…
When I change some external option, I want to clear the current options and load new ones… but changing the select options does nothing… not even triggering an event.

The original select has all the correct options, so I tried calling drestroy and creating the select2 again but nothing happens (it doesnt get created again).

Is there a refresh method??

Thanks!


#2

Basically I add/remove options to the “original” select, but the options do not get reflected on the select2 UI even if I trigger the change event.