Skip to content

How to use defaultValues properly? #238

Answered by airjp73
AnthonyLzq asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Sorry I missed this.

In your reproduction, the validator has a required field (photo) that isn't present in the form. So the submission is failing because the form is invalid, but the errors doesn't appear because there's no photo field.

Replies: 1 comment 7 replies

Comment options

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

@AnthonyLzq
Comment options

@AnthonyLzq
Comment options

@airjp73
Comment options

Answer selected by AnthonyLzq
@AnthonyLzq
Comment options

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