issue: Multi-page form validation issue with react-hook-form and arrays #11879
Unanswered
seanmiddaugh
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
-
Version Number
7.51.4
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/affectionate-darkness-ccxqxh
Steps to reproduce
The form doesn't let you go to page 2 anymore because it's validating an error on page 2. I'm not on this page so it should't validate it. It let me bypass this on page load so I'm not sure why it does this when I click back.
Expected behaviour
I want to be able to go back and forth from page 1 and 2 freely without validating page 2. Page 2 should only validate if I try to click "Next" on page 2.
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions