-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Linear stepper: already valid steps can be skipped without visit #8667
Comments
I think I have run into the same issue. return this.stepControl ? this.stepControl.valid && this.interacted : this.interacted; After change: return this.stepControl ? this.stepControl.valid : this.interacted; |
Hello, has there been any progress on this bug? |
I see 2 possible solutions to this:
I'm leaning toward solution 1 being the right solution. marking the stepper as linear should probably mean that the user does have to step through each step |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Not sure but I think it's a bug
What is the expected behavior?
In case of linear stepper the user can skip a not completed step if the step is already valid.
What is the current behavior?
Already valid steps should be mandatory to complete as well.
What are the steps to reproduce?
The second step can be skipped here:
https://stackblitz.com/edit/angular-material2-issue-wnrjsf
What is the use-case or motivation for changing an existing behavior?
There are use-cases where we just want to show some information without any user input, or we can prefill data (e.g billing address), so it will be valid, but the user should check (and accept)
The text was updated successfully, but these errors were encountered: