-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/stepperfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
A linear stepper whose associated form is populated using patchValue
or setValue
and is valid should allow you to click on any of the steps right away.
What is the current behavior?
I have to keep pressing the "next" button as I am restricted to clicking on steps I have visited and the one immediately after.
What are the steps to reproduce?
- Create a linear stepper with > 3 steps
- Associate the stepper with a form and each step with a form group
- Programmatically patch the value of the form groups associated with the steps to a valid state
- Not all steps on the stepper are clickable even though the form and the groups are valid
What is the use-case or motivation for changing an existing behavior?
Saving the user's progress for a long form and returning them to the step they left off on.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I'm on Angular 5.2.3, Angular Material 5.2, MacOS, TS 2.4.2.
demisx, jdpnielsen, salemdar, fen89, JenishGnanasicamani and 2 more
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/stepperfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix