Poll: useFieldArray rules
props (#8102)
#8625
bluebill1049
started this conversation in
Polls
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
Version 7.33.0 unlocks the ability to introduce type-safe nested value error (https://github.com/react-hook-form/react-hook-form/releases/tag/v7.33.0), This also unlocks the ability to support useFieldArray
rules
props. In fact, we have a PR in place for the feature (beta) release: #8562Quesiton
How would we like to name the field array root error, without conflicting with field array input errors.
Here are some of the examples
errors?.test?.root?.message
||errors?.test?._root?.message
errors?.test?.fieldArray?.message
errors?.FieldArray?.test.message
13 votes ·
Beta Was this translation helpful? Give feedback.
All reactions