autocompete in material angular code example
Example 1: autocomplete list angular 8 material
<mat-autocomplete>
<mat-option *ngFor="let option of options" [value]="option">
{{ option }}
</mat-option>
</mat-autocomplete>
Example 2: autocomplete list angular 8 material
<mat-form-field>
<input type="text" matInput [formControl]="myControl">
</mat-form-field>