How to get Fields errors from useFieldArrays in remix-validation-form ? #293
Unanswered
YassineOujaa77
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi! You would get the error using const { error } = useField("subQuestions[0].question"); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a form using rremix-validation-form and I'm using zod for creating the schema validation
this is my schema :
but I cannot get the answers errors in my form ?
I searched in remix-validation-form and in useFieldArray there is no way I can get these fields' errors ?
DO you have any idea how can I do that ?
Beta Was this translation helpful? Give feedback.
All reactions