-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/stepperhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
What is the expected behavior?
After linear stepper reinitialization (f.e. web-app reload) all previously filled out forms of steps restore their valid state from storage and stepper restore selectedIndex. All these forms should be considered as visited and completed so user can navigate back without restriction.
What is the current behavior?
User completed step 1 and 2 and stay on step 3.
States of forms on step 1 and 2 are saved in storage.
After reload, forms on step 1 and 2 restore its states, so the steps are valid and selectedIndex set to step 3.
User can't navigate back to step 2, despite the fact that this step is valid. User can only navigate to step 1.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-a5jw17
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/cdk": "^7.3.1",
"@angular/core": "7.2.4",
"@angular/material": "^7.3.1",
"typescript": "3.2.4",
Windows 8.1; Google Chrome 72.0.3626.121;
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/stepperhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue