Skip to content

Commit b6a730f

Browse files
fix(simple-combo): remove filter, search value reset and additional check
1 parent d113650 commit b6a730f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

projects/igniteui-angular/src/lib/simple-combo/simple-combo.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,6 @@ export class IgxSimpleComboComponent extends IgxComboBaseDirective implements Co
240240
this.filterValue = this.searchValue = this.comboInput.value;
241241
return;
242242
}
243-
if (!this.comboInput.value) {
244-
this.filterValue = this.searchValue = '';
245-
}
246243
});
247244
this.dropdown.opened.pipe(takeUntil(this.destroy$)).subscribe(() => {
248245
if (this.composing) {
@@ -289,7 +286,7 @@ export class IgxSimpleComboComponent extends IgxComboBaseDirective implements Co
289286
if (this.collapsed && this.comboInput.focused) {
290287
this.open();
291288
}
292-
if (!this.comboInput.value.trim() && super.selection.length && super.selection[0][this.valueKey] !== "") {
289+
if (!this.comboInput.value.trim() && super.selection.length) {
293290
// handle clearing of input by space
294291
this.clearSelection();
295292
this._onChangeCallback(null);

0 commit comments

Comments
 (0)