-
Notifications
You must be signed in to change notification settings - Fork 244
Validation skipping steps when previously visited #37
Comments
Thanks for reporting @doodlepants |
I agree! A good approach is often the simplest. I don't think re-validating intermediate steps is overkill. |
Sure. Any help would be appreciated. I'm wondering where should the validation stop in the case discussed above: So we have Step 2 is invalid and the user is on step 1. He wants to go straight to 3 but 2 is invalid. I am assuming that after validation he should be redirected to the first invalid step, 1 - > 3 |
I will find some time to do this by the end of the week. |
Actually this seemed quite easy to implement (5 lines of code 😄 ) |
@doodlepants See the same fiddle from above. It should validate all steps when going from a step to another where the difference between them is greater than 1 step. Therefore, you will not be allowed to jump to any step without validating everything which I think is good |
Repro steps:
The text was updated successfully, but these errors were encountered: