Open
Description
I've included the module in the app and imported it in the app module but when i use the directive i get this error:
Can't bind to 'ngxValidationErrors' since it isn't a known property of 'mat-form-field'.
<form [formGroup]="heroForm" validationContext="USER.REGISTRATION">
<mat-form-field *ngxValidationErrors="heroForm.get('name'); errors as errors">
<input matInput formControlName="name" placeholder="name"/>
<mat-error *ngIf="errors">{{errors}}</mat-error>
</mat-form-field>
</form>
The app uses Angular 10 with Ivy enabled.
Metadata
Metadata
Assignees
Labels
No labels