mat-select-autocomplete
mat-select-autocomplete copied to clipboard
Hidden and disable options...
Hi, I suggest add 'disabled' in option when turn off for better interaction with keyboard.
Example: <mat-option *ngFor="let item of dfselectbox.items;" [value]="item.value" [disabled] = "hideOption(item)" [style.display]="hideOption(item) ? 'none' : 'flex'"> {{ item.text }}
Tks for sharing...