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
The option gets added, both in the DOM select as well as in the Dropkick options. However, when I try to select the new option ('Option 4'), 'Option 3' is marked as selected. When I select 'Option 3', 'Option 4' gets selected. If I add multiple options, the option directly above it gets selected.
Everything is fine after I call the refresh() method. Is that the intended use? Or is it supposed to refresh automatically?
The text was updated successfully, but these errors were encountered:
I'm trying to dynamically add an option by doing the following.
HTML:
Javascript:
The option gets added, both in the DOM select as well as in the Dropkick options. However, when I try to select the new option ('Option 4'), 'Option 3' is marked as selected. When I select 'Option 3', 'Option 4' gets selected. If I add multiple options, the option directly above it gets selected.
Everything is fine after I call the refresh() method. Is that the intended use? Or is it supposed to refresh automatically?
The text was updated successfully, but these errors were encountered: