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
After openening a select one might want to close it by clicking the previously selected option. Though the value has not changed, Select.prototype.pickOption() still calls this.triggerChange() which causes our AJAX form to submit.
We could add a valueHasChanged flag and check this before calling this.triggerChange():
After openening a select one might want to close it by clicking the previously selected option. Though the value has not changed,
Select.prototype.pickOption()
still callsthis.triggerChange()
which causes our AJAX form to submit.We could add a
valueHasChanged
flag and check this before callingthis.triggerChange()
:The text was updated successfully, but these errors were encountered: