-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
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:
Bug
What is the expected behavior?
Angular-material forms should be presented in a non-error state when the conditions of the default ErrorStateMatcher are not met (not touched or not submitted)
What is the current behavior?
When a form is presented inside a mat-stepper, when traversing to a previous step, the form will be in an error state even if the form is pristine and un-submitted. Any attempt to try to reset the form or FormGroupDirective fails.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-fay224
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Reactions are currently unavailable
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