Skip to content

MatStep.interacted is always false for last step  #17974

Closed
@LastDragon-ru

Description

@LastDragon-ru

Reproduction

Steps to reproduce:

  1. Open https://stackblitz.com/edit/angular-dytmpt
  2. Click Next => Interacted = true
  3. Fill field
  4. Click Next
  5. Click Next => Interacted = false

This bug also prevents to update error state for controls on the last step.

Demo

Rx9WQFPrfu

Expected Behavior

On the last step interacted must be set to true after Next like on other steps.

Actual Behavior

On the last step interacted is always false

Environment

  • Angular: 8.2.14
  • CDK/Material: 8.2.3
  • Browser(s): chrome latest
  • Operating System (e.g. Windows, macOS, Ubuntu): win 10 x64

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/stepper

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions