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
Currently, uniforms begins validation only with the initial submit.
But, HTML5 form validation (for fields like number, email, date etc) supersedes the form submit handling in such a way that it is called before the first submit gets fired.
This results in native browser validation messages appearing.
After the first submit, uniforms takes over the validation, no longer displaying native browser messages.
To mitigate this issue, we could perhaps simply suppress HTML5 form validation all together.
Currently, uniforms begins validation only with the initial submit.
But, HTML5 form validation (for fields like number, email, date etc) supersedes the form submit handling in such a way that it is called before the first submit gets fired.
This results in native browser validation messages appearing.
After the first submit, uniforms takes over the validation, no longer displaying native browser messages.
To mitigate this issue, we could perhaps simply suppress HTML5 form validation all together.
Editing line 150 of BaseForm.js from
to
should suffice.
The text was updated successfully, but these errors were encountered: