-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need isValidated to run on both Next and Previous navigation. #97
Comments
Good question and tnx for the kind words. I believe you are right. IsValidated does only work for forward movement. It was a design choice as it was initially built to be a wizard. (So move forward to fill the form and back to correct previous steps) - forcing validation on back step won’t be hard to do but will cause a lot of confusion for others who prefer the wizard workflow. I have not had any other requests for this, but will do to if the need arises. |
Hi, I have the same problem right now. I would love to check the user when jumping back and if necessary not allow him to jump back. |
Hi! Thanks for this great lib. Would also love to do validation when going "back" in the wizard. |
+1 I will need the action on back button, just to make the user aware he is going back without saving the changes. Will be of great help! Thanks for the wonderful library. |
Great library, thank you so much for the work you have put in!
My situation allows the user to navigate forward and backward, both using the buttons and by clicking the step navigation at the top. Each step is complete within its own component and needs validation before leaving. I discovered today that validation (isValidated) only fires when moving forward. I've searched the docs and don't see a way to configure it to run isValidated in both directions, am I missing something, or is it truly not possible?
The text was updated successfully, but these errors were encountered: