Replies: 3 comments 2 replies
-
@delaneyj it's not duplicating the validation, that's the browser api for checking if an element is valid. It's supposed to be much faster then js based validation: https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation |
Beta Was this translation helpful? Give feedback.
2 replies
-
I will get to this after EuroBSDCon |
Beta Was this translation helpful? Give feedback.
0 replies
-
I’ve created #293 for further discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just throwing this out here to see if it's a good idea before I commit to building out the go example page and playground test:
If an html input has any constraints on it, then only update the signal if it's valid.
Seems to me like it would reduce most of the needs for custom validation code in simple forms and make it all
more declarative.
I have an idea on how to add validation on signal to input changes too, but unsure if it's desirable.
Beta Was this translation helpful? Give feedback.
All reactions