Skip to content

Commit 515bfda

Browse files
Merge pull request #14966 from IgniteUI/bpachilova/14943-combo-id-setter-refactor-17.2.x
refactor(combo): only handle selection set in id setter - 17.2.x
2 parents 36b8646 + 992562d commit 515bfda

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

projects/igniteui-angular/src/lib/combo/combo.common.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,17 +176,11 @@ export abstract class IgxComboBaseDirective extends DisplayDensityBase implement
176176
return;
177177
}
178178
const selection = this.selectionService.get(this._id);
179+
this.selectionService.clear(this._id);
179180
this._id = value;
180181
if (selection) {
181182
this.selectionService.set(this._id, selection);
182183
}
183-
if (this.dropdown?.open) {
184-
this.dropdown.close();
185-
}
186-
if (this.inputGroup?.isFocused) {
187-
this.inputGroup.element.nativeElement.blur();
188-
this.inputGroup.isFocused = false;
189-
}
190184
}
191185

192186
/**

0 commit comments

Comments
 (0)