-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Currently the multistep dialog will not allow you skip steps initially. A user on step one cannot jump to step 3, they must use the "Next" button.
This allows us to fully block going to the next step if there is any invalid configuration on the current step, by disabling the next button.
However, if a user has progressed to say step three, then goes back 2 steps, they are now able to "Jump ahead" back to step 3 using the step buttons on the left side.
This becomes an issue if the user goes, backwards and then updates the configuration to become invalid, we can no longer block them going forward by just disabling the next button, because they can still use the sidebar.
Possible solutions
Expose a way to reset the "last seen" step [Prefferred]
If a user goes to a previous step and makes a change I would like to revalidate, there should be a way to reset the last seen step, so they can no longer jump forward.
Disable sidebar navigation if the next button is disabled
Whenever the next button is disabled, we should also disable jumping forward via the sidebar, (going back should still be allowed). This may not fully solve the issue, as making a change in step 2, could make step 3 invalid, and so we wouldn't want the user to still be able to jump forward to step 4