We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1ee2f commit 00515adCopy full SHA for 00515ad
src/components-examples/material/chips/chips-autocomplete/chips-autocomplete-example.html
@@ -21,7 +21,7 @@
21
[matChipInputSeparatorKeyCodes]="separatorKeysCodes"
22
(matChipInputTokenEnd)="add($event)"
23
/>
24
- <mat-autocomplete #auto="matAutocomplete" (optionSelected)="selected($event)">
+ <mat-autocomplete #auto="matAutocomplete" (optionSelected)="selected($event); fruitInput.value = ''">
25
@for (fruit of filteredFruits(); track fruit) {
26
<mat-option [value]="fruit">{{fruit}}</mat-option>
27
}
0 commit comments