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
Even though all fields are required, no browser validation is displayed
Enable progressive: true in the useForm hook
Resubmit the form
See browser validation error!
Expected behaviour
This might not be a bug but a lack of documentation. I just followed the docs for the shouldUseNativeValidation property. The progressive property is not documented at all in the useForm docs. I found it in the release notes after digging a little bit into the source code. After enabling both properties it works exactly as expected!
What's the purpose of shouldUseNativeValidation without enabling progressive as well? Should they always be used together? Can we document and maybe even enforce that in the useForm config object via ts?
P.S. This is a fantastic feature! Absolutely love that react-hook-form enables this. ✨
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Version Number
7.54.0
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/beautiful-stallman-738wjw
Steps to reproduce
Expected behaviour
This might not be a bug but a lack of documentation. I just followed the docs for the shouldUseNativeValidation property. The
progressive
property is not documented at all in the useForm docs. I found it in the release notes after digging a little bit into the source code. After enabling both properties it works exactly as expected!What's the purpose of
shouldUseNativeValidation
without enablingprogressive
as well? Should they always be used together? Can we document and maybe even enforce that in the useForm config object via ts?P.S. This is a fantastic feature! Absolutely love that react-hook-form enables this. ✨
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: