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 31be57e commit 3e008d8Copy full SHA for 3e008d8
projects/angular/components/ui-suggest/src/ui-suggest.component.ts
@@ -1221,7 +1221,9 @@ export class UiSuggestComponent extends UiSuggestMatFormFieldDirective
1221
if (!this.multiple) {
1222
this._clearSelection();
1223
} else if (!this.compact) {
1224
- this.inputControl.setValue('');
+ if (this.inputControl.value) {
1225
+ this.inputControl.setValue('');
1226
+ }
1227
this._focusChipInput();
1228
}
1229
this._pushEntry(value);
0 commit comments