Skip to content

Commit 9d549d4

Browse files
fix(simple-combo): apply filter correctly with selected value
1 parent 02624ce commit 9d549d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ export class IgxSimpleComboComponent extends IgxComboBaseDirective implements Co
297297
}
298298
if (super.selection.length) {
299299
this.selectionService.clear(this.id);
300+
this.filterValue = this.searchValue = typeof event === 'string' ? event : event.target.value;
300301
}
301302
// when filtering the focused item should be the first item or the currently selected item
302303
if (!this.dropdown.focusedItem || this.dropdown.focusedItem.id !== this.dropdown.items[0].id) {

0 commit comments

Comments
 (0)