validateField on an object #4871
Unanswered
andredewaard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to validate a nested object? i have a form like this:
with a lot of other fields, but after they fill in the submission fields i want to validate only that part of the form.
It works when i do
validateField('submission.type')
but i actually want to validate the whole submission object at once withvalidateField('submission')
but that will return 0 errors even if its an empty object.if you validate the whole form at once the submission object will actually throw the errors.
Beta Was this translation helpful? Give feedback.
All reactions