Skip to content
Discussion options

You must be logged in to vote

This came up again today and I dug back into it. Turns out that underlying issue was using undefined in the defaultValues. Changing this to null resolved the strange behavior. Interesting that it'd manifest this way (I know that it's documented to not use undefined for defaultValues, but I hadn't run into any issues with it elsewhere).

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by noahw3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
status: need more detail Please follow our issue template.
2 participants
Converted from issue

This discussion was converted from issue #11564 on March 02, 2024 09:26.