Skip to content
Discussion options

You must be logged in to vote

@louh

You need to use option progressive=true to pass down native validation rule attributes.

Reference: https://react-hook-form.com/docs/useform/form#rules

Working demo: https://codesandbox.io/s/determined-northcutt-6vwsss?file=/src/App.tsx

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by louh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants