Skip to content
Discussion options

You must be logged in to vote

@iongion

Please read carefully the documentation

Error can only be mapped if it was registered with react-hook-form. In your example, even with built-in yup resolver or your custom yup resolver, there is only one input "Name" has been registered, therefore react-hook-form cannot validate and show error of what it does not know.

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@iongion
Comment options

Comment options

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

You must be logged in to vote
2 replies
@7system7
Comment options

@AmanL04
Comment options

Comment options

You must be logged in to vote
0 replies
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
6 participants