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
browser prompts for validity don't get triggered for two reasons:
the button for combining inputs isn't a Submit type of input or submit button
the output portion of the app is technically a separate <form> tag for styling reasons
a solution is to put the entire app into the same form and change the button to submit. although there needs to be a way to cancel navigation from submitting the form and instead call the xor script.
Alternatively, we can check ourselves:
https://caniuse.com/?search=checkValidity
input.checkValidity() doesn't force the browser prompt for validity though, an overlay or alert would need to be shown.
polyfill or wrapper seems doable for this method?
doesn't seem to be enforced in firefox or chrome [despite being set] when typing in manually.
The text was updated successfully, but these errors were encountered: