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
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
When enter is pressed whilst selectr input is focused, this will not trigger the onsubmit event but instead directly submit the form to it's action. This is a problem for ajax forms and although intended as per the onsubmit specifications, I suggest this be changed to align with default behaviour of the standard select field. A fix would be to replace the line if (that.el.form && typeof that.el.form.submit !== 'undefined') that.el.form.submit();
with if (that.el.form && typeof that.el.form.submit !== 'undefined') that.el.form.dispatchEvent(new Event('submit'))
The text was updated successfully, but these errors were encountered:
When enter is pressed whilst selectr input is focused, this will not trigger the onsubmit event but instead directly submit the form to it's action. This is a problem for ajax forms and although intended as per the onsubmit specifications, I suggest this be changed to align with default behaviour of the standard select field. A fix would be to replace the line
if (that.el.form && typeof that.el.form.submit !== 'undefined') that.el.form.submit();
with
if (that.el.form && typeof that.el.form.submit !== 'undefined') that.el.form.dispatchEvent(new Event('submit'))
The text was updated successfully, but these errors were encountered: