We have a linear mat-horizontal-stepper
now we want to show a MatSnackBar
when the user tries to proceed an forgot a required field.
CdkStepper
seems to call _anyControlsInvalidOrPending
silently and returns if any input is not valid.
Does anybody have an idea how to detect this event?
It must be detected when calling stepper.next()
, stepper.previous()
and step.select()