Fixes bug on multiple autocomplete reseting the form value when typing. (Issue #135)

This commit is contained in:
gkolokythas 2019-07-25 16:12:14 +03:00
parent 273b05da00
commit a64c96bc1e
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export class MultipleAutoCompleteComponent implements OnInit, MatFormFieldContro
if (this._isValidObject(query)) { return observableOf([]); }
// Since the object is changed we need to clear any existing selections, except for the first time.
if (query !== null) { this.pushChanges(null); }
// if (query !== null) { this.pushChanges(null); }
return this.filter(query);
}),
tap(() => { this.loading = false; }));