Is it possible to use stepper.reset() inside the ts file? I would like to do someting like
onCheckRef() {
if (this.refFormGroup.get('reference').invalid) {
this.stepper.reset();
} else {
.....................
}
}
In the template :
<button mat-button (click)="onCheckRef()" matStepperNext>Valider</button>