-
Notifications
You must be signed in to change notification settings - Fork 6.8k
The selectionChange event does not fire when completed is false #18080
Copy link
Copy link
Closed
Labels
Description
Reproduction
Steps to reproduce:
1.Toggle step 1 to be incomplete
2. Try firing the selection change event by click on the step 1 or step 2 mat-step elements
The event will not fire.
In my use case I want it to fire such that I can peform the toggle using that event. So for example if Step 2 is clicked, then the event handler will perform the check that toggles the completed state of step one to true.
Expected Behavior
What behavior were you expecting to see?
The event should fire and report the correct index regardless of whether the stepper will allow progress to the step clicked on.
Actual Behavior
What behavior did you actually see?
No event is reported at all.
Environment
Stackblitz
Reactions are currently unavailable