You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
seanmiddaugh
changed the title
Multi-page form validation issue with react-hook-form and arrays
issue: Multi-page form validation issue with react-hook-form and arrays
May 10, 2024
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
The text was updated successfully, but these errors were encountered: