how to set Errors for someone specific index on Array of errors #7796
Unanswered
julio3266
asked this question in
Show and tell
Replies: 1 comment 1 reply
-
have you tried this API: https://react-hook-form.com/api/useform/seterror |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a form using useFieldArray and I need to insert error into an index inside the array. As you can see on the example below:
The specific index is 1, in this case
![Captura de Tela 2022-02-10 às 22 00 34](https://user-images.githubusercontent.com/52897217/153522491-d00b9831-e3df-440b-bc28-a6a8be52ed2e.png)
Beta Was this translation helpful? Give feedback.
All reactions