Skip to content

Commit f31498b

Browse files
fix(simple-combo): correct if checks order
1 parent f9e7761 commit f31498b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ export class IgxSimpleComboComponent extends IgxComboBaseDirective implements Co
280280

281281
/** @hidden @internal */
282282
public override handleInputChange(event?: any): void {
283-
if (event !== undefined) {
284-
this.filterValue = this.searchValue = typeof event === 'string' ? event : event.target.value;
285-
}
286283
if (this.collapsed && this.comboInput.focused) {
287284
this.open();
288285
}
286+
if (event !== undefined) {
287+
this.filterValue = this.searchValue = typeof event === 'string' ? event : event.target.value;
288+
}
289289
if (!this.comboInput.value.trim() && super.selection.length) {
290290
// handle clearing of input by space
291291
this.clearSelection();

0 commit comments

Comments
 (0)