How to use global validator for useFieldArray #5000
rogerluo410
started this conversation in
General
Replies: 0 comments
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.
-
Use global validator, not yup, how to validate the object's attribute in the list,
I want to set validationSchema like this, the options.name should be validated:
But, not work. It throws out "Uncaught (in promise) Error: No such validator 'name' exists."
Beta Was this translation helpful? Give feedback.
All reactions