Why is the novalidate
property being automatically added to all instances of <Form>
?
#3632
-
Is there any way to remove this attribute? What if an engineer wants the default browser validation to work? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
devongovett
Oct 12, 2022
Replies: 1 comment
-
Because default browser validation doesn't match Spectrum's design for form errors. You can set the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
obliviga
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because default browser validation doesn't match Spectrum's design for form errors. You can set the
validationState
anderrorMessage
props to show errors.