fix bug where empty input was saved in multiple auto complete fields

This commit is contained in:
Bernaldo Mihasi 2023-06-13 11:52:50 +03:00
parent 1f666a5bf9
commit 5cd1803e3a
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ export class MultipleAutoCompleteComponent extends _CustomComponentMixinBase imp
const input = event.input; const input = event.input;
const value = event.value; const value = event.value;
// Add our fruit // Add our fruit
if ((value || '').trim()) { if (value.trim()) {
// this.optionSelectedInternal(value); // this.optionSelectedInternal(value);
this.valueOnBlur.next(value); this.valueOnBlur.next(value);
} }