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
When calling .imagepicker on a select box that is bound to knockout the first time everything works fine. When that select list is changed and the call is made again (as is recommended) the underlying select list seems to never receive the updates on when an item is selected. the thumbnail does highlight correctly though.
Is there a way to totally destroy the first instance and recreate it? the destroy method seems to leave some stuff behind.
Knockout is mentioned because it is more apparent with knockout. The scenario is items get added to the list from other dom events and would be added or removed from the master select list. The user would then get the option to pick from this master list. Things work great on the first time around but stop once anything is changed on the select list
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, came back to it a year later.
It's obvious to me now what was probably the issue this.select.unbind("change") was probably removing all listeners and instead of only the ones I added. Made a fix for this in the latest release.
When calling .imagepicker on a select box that is bound to knockout the first time everything works fine. When that select list is changed and the call is made again (as is recommended) the underlying select list seems to never receive the updates on when an item is selected. the thumbnail does highlight correctly though.
Is there a way to totally destroy the first instance and recreate it? the destroy method seems to leave some stuff behind.
Knockout is mentioned because it is more apparent with knockout. The scenario is items get added to the list from other dom events and would be added or removed from the master select list. The user would then get the option to pick from this master list. Things work great on the first time around but stop once anything is changed on the select list
The text was updated successfully, but these errors were encountered: