Skip to content
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

Able to Skip past Validation Steps #6

Closed
ghost opened this issue Jan 23, 2017 · 3 comments
Closed

Able to Skip past Validation Steps #6

ghost opened this issue Jan 23, 2017 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Jan 23, 2017

I noticed I can skip right to Step 4 from the overhead step options, even though Step 2 (let's take it from the example) requires form input - if I'm on step 2 it works fine, but if i'm on step 1 or 3 i can skip through. Is there a simple way to solve this?

@newbreedofgeek
Copy link
Owner

mmm.. this may be a bug. Let me have a look today.

@newbreedofgeek
Copy link
Owner

@stevecawdery it was indeed a bug, thanks for raising this.

I have redone most of the logic relating to validation control when enabled via showNavigation: true and stepsNavigation: true

This will now prevent the user from jumping into a step ahead when a step in between has not been validated. But it will let them jump backwards.

Let me know how you go.

Also, I completely rewrote the example app :) it looks better and is completely completely now.

@newbreedofgeek
Copy link
Owner

I've added a live working example https://newbreedofgeek.github.io/react-stepzilla/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant