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 4cbd072 commit cc2bf64Copy full SHA for cc2bf64
src/material-examples/chips-autocomplete/chips-autocomplete-example.ts
@@ -58,6 +58,8 @@ export class ChipsAutocompleteExample {
58
if (input) {
59
input.value = '';
60
}
61
+
62
+ this.fruitCtrl.setValue(null);
63
64
65
remove(fruit: any): void {
@@ -76,5 +78,6 @@ export class ChipsAutocompleteExample {
76
78
selected(event: MatAutocompleteSelectedEvent): void {
77
79
this.fruits.push(event.option.viewValue);
80
this.fruitInput.nativeElement.value = '';
81
82
83
0 commit comments