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
I ran across the following odd behavior while building a form with mdui v2.1.3.
When using javascript to add an eventListener to the form, the mdui form appears to ignore validation and submit anyways.
If either is empty, the mdui-text-field will accurately return false via .checkValidity(), but form and the md-button will still return true.
I was able to reproduce this using the following quick example:
I ended up finding mdui after learning that Material Web Components was in maintenance mode, and I definitely appreciate all the hard work you've put into this!
It has definitely made the front-end part of my web development significantly more pleasant.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello!
I ran across the following odd behavior while building a form with mdui v2.1.3.
When using javascript to add an eventListener to the form, the mdui form appears to ignore validation and submit anyways.
If either is empty, the
mdui-text-field
will accurately returnfalse
via.checkValidity()
, butform
and themd-button
will still returntrue
.I was able to reproduce this using the following quick example:
I ended up finding mdui after learning that Material Web Components was in maintenance mode, and I definitely appreciate all the hard work you've put into this!
It has definitely made the front-end part of my web development significantly more pleasant.
Thank you!
The text was updated successfully, but these errors were encountered: