Skip to content

Commit

Permalink
fix(material): add errorStateMatcher to autocomplete example (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
aitboudad committed Apr 8, 2019
1 parent 93268e4 commit 4606db9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -12,7 +12,8 @@ import { startWith, switchMap } from 'rxjs/operators';
[matAutocomplete]="auto"
[formControl]="formControl"
[formlyAttributes]="field"
[placeholder]="to.placeholder">
[placeholder]="to.placeholder"
[errorStateMatcher]="errorStateMatcher">
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let value of filter | async" [value]="value">
{{ value }}
Expand Down

0 comments on commit 4606db9

Please sign in to comment.