From a80cbac9436c4f01bd56c269bc0f346bd40041d4 Mon Sep 17 00:00:00 2001 From: ddaribo Date: Fri, 25 Oct 2024 16:10:54 +0300 Subject: [PATCH] refactor(combo): only handle selection set in id setter --- projects/igniteui-angular/src/lib/combo/combo.common.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/projects/igniteui-angular/src/lib/combo/combo.common.ts b/projects/igniteui-angular/src/lib/combo/combo.common.ts index ff1997c351c..fefa4312bbf 100644 --- a/projects/igniteui-angular/src/lib/combo/combo.common.ts +++ b/projects/igniteui-angular/src/lib/combo/combo.common.ts @@ -179,17 +179,11 @@ export abstract class IgxComboBaseDirective implements IgxComboBase, AfterViewCh return; } const selection = this.selectionService.get(this._id); + this.selectionService.clear(this._id); this._id = value; if (selection) { this.selectionService.set(this._id, selection); } - if (this.dropdown?.open) { - this.dropdown.close(); - } - if (this.inputGroup?.isFocused) { - this.inputGroup.element.nativeElement.blur(); - this.inputGroup.isFocused = false; - } } /**