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

Navigating Directly to a Step #132

Open
mhspradlin opened this issue Jul 25, 2020 · 0 comments
Open

Navigating Directly to a Step #132

mhspradlin opened this issue Jul 25, 2020 · 0 comments

Comments

@mhspradlin
Copy link
Collaborator

When a user attempts to navigate directly to a step past the last step that was created, they should be redirected to the step past the last one they've completed or the first step.

A strategy that I think would work pretty well is to track the completed steps in FormStepper by adding another line to the onComplete/onBack it passes to each step that would set/unset a completed flag in a bit of state FormStepper tracks.

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

No branches or pull requests

1 participant