Open MylesWardell opened 10 months ago
The prop does not appear to be documented, but you can enable the passing of native validation props to input elements by using the progressive: true
flag on useForm
.
If it was just validation it should say maxLength the input is validated or something like that.
Validation is only performed based on the mode
prop, which defaults to onSubmit
. This means that your expected validation error would occur on form submission. If you require validation to occur onChange
, consider using mode: "onChange"
.
Version Number
7.49.3
Codesandbox/Expo snack
https://codesandbox.io/s/intelligent-poincare-f57gmx
Steps to reproduce
Expected behaviour
Text says max Length accepted by this input so I would assume its a passthrough to
maxLength
on the react input. If it was just validation it should saymaxLength
the input is validated or something like that.What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct