What events causes the resolver to be trigger? #12464
Replies: 1 comment
-
The code above results in an infinite loop because I'm updating the formState error on every render from calling "canAddEntry" function. After the fix, it works fine and as expected |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to figure out what event actually triggers the resolver. I'm calling the trigger function on a nested form field, but it's not kicking in the validation from the resolver schema. I'm using Zod
Although I haven't defined the resolver schema for every single field in my form, but I don't think that should stop the nested field validation from working. Am I missing something?
Would appreciate any pointers!
Beta Was this translation helpful? Give feedback.
All reactions