I have a `angular material linear stepper` each step is a separate `angular 
component` containing a `form` which needs `validation`

The validation simply just isn't working. I can progress through to the 
next step without completing the form. 

To illustrate what I mean I have created a condensed version on 
stackblitz.  

The main things to look at (I think) is the `create-profile.component.html`

    <mat-horizontal-stepper linear #stepper>
    <mat-step [stepControl]="frmStepOne">
    <ng-template matStepLabel>Step One Details</ng-template>
    <step-one-component></step-one-component>
    </mat-step>
    <mat-step [stepControl]="frmStepTwo">
    <ng-template matStepLabel>Step Two Details</ng-template>
    <step-two-component></step-two-component>
    </mat-step>
    <mat-step [stepControl]="frmStepThree">
    <ng-template matStepLabel>Step Three Details</ng-template>
    <step-three-component></step-three-component>
    </mat-step>
    </mat-horizontal-stepper>

And each `step-X-component` 

Here is the stackblitz. 
https://stackblitz.com/edit/angular-vpoj5j


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to