A problem is occurring with the angular materials mat-stepper
when working with dynamic forms. For example I have a stepper with 3 steps each having there own f
Following on previous post I've found better implementation for stepChanged function:
stepChanged(event: StepperSelectionEvent) {
if (event.previouslySelectedIndex > event.selectedIndex) {
event.previouslySelectedStep.interacted = false;
}
}
This code will set interacted property only on steps which you go from to previous steps.