The angular material Stepper component can be connected with a form Group like this
<mat-vertical-stepper [linear]="isLinear" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
....
</form>
</mat-step>
...
Now, the interesting thing which I would like to understand is, if you leave the first step empty and click on the seconds step, the form field goes to an invalid state. But, as you can see in the stackblitz, at the bottom I list all states of the form and the form-field, but nothing seems to change.
So, my question is, which property is changed on the form by the Stepper to make the form invalid?
Note: In my case I need to add a message if this happens, something like this
<div *ngIf="firstFormGroup.touched && firstFormGroup.invalid">Extra message goes in here</div>