Can isValid from trigger() Be Used to Determine Form Validation Status ? #12467
Unanswered
restarajat
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Can we use the isValid result from the trigger() method within the onSubmit function to determine the form's validation status and then conditionally proceed with handling form data? Here’s an example of what I’m trying to achieve:
Questions:
Looking forward to insights and suggestions from the community! Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions