I'm trying to activate the mat-autocomplete panel of input visible when we click on the button.
<div class="filter">
<button mat-raised-button color="warn" (click)="showFilter()" >Add Filter</button>
<div [class.open]="isOpen" class="filter-menu">
<mat-form-field appearance="fill">
<input type="text" matInput [matAutocomplete]="auto" >
<mat-autocomplete #auto="matAutocomplete" >
<mat-option *ngFor="let filter of filter" [value]="filter.filterName" (click)="filterFunc(filter.filterName)">
{{filter.filterName}}
</mat-option>
</mat-autocomplete>
</mat-form-field>
</div>
</div>