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
If JavaScript has disabled for example Blueberry after the multi has already been Initialized. Blueberry will not be shown as a disabled option until the user clicks e.g. Coconut. The other JavaScript should be able to ask for a redraw of the entire element.
Or how can I trigger a change() after initialization?
The text was updated successfully, but these errors were encountered:
2x2p
changed the title
redraw() is needed if js disables/enables options after initialization
redraw() is needed if external js disables options after the multi initialization
May 6, 2019
I do understand triggering a change can be done through JQuery after reading issue #15. But can it be done when JQuery is not present? For example when multi is also listening for element.focus() or element.blur()?
I am asking because if the select tag has the onChange set in its HTML any function called onChange is again calling for a refresh as suggested in #15$( element ).trigger( 'change' ); this will cause an infinite loop.
If JavaScript has disabled for example Blueberry after the multi has already been Initialized. Blueberry will not be shown as a disabled option until the user clicks e.g. Coconut. The other JavaScript should be able to ask for a redraw of the entire element.
Or how can I trigger a change() after initialization?
The text was updated successfully, but these errors were encountered: