How to set option not found for mat mat-autocomplete.
Below is my code:
<mat-autocomplete #auto="matAutocomplete" [displayWith]="displayFn">
<mat-option *ngFor="let item of items | async" [value]="item">
{{item.value}}
</mat-option>
</mat-autocomplete>
The equivalent element in AngularJS is
<md-autocomplete ...>
<md-item-template>
...
</md-item-template>
<md-not-found>
No item matching "{{myText}}" were found.
</md-not-found>
</md-autocomplete>
What is the AngularJS md-not-found equivalent in mat-autocomplete
There's no such option at the moment in material design for Angular according to the autocomplete.ts source code, there's also a Github Issue #13013 "No implementation of md-not-found for Autocomplete in Angular2+" with a workaround.