Skip to content

Commit eca1c18

Browse files
Merge pull request #14964 from IgniteUI/bpachilova/14943-combo-id-setter-refactor-18.2.x
refactor(combo): only handle selection set in id setter - 18.2.x
2 parents c5a5d85 + 3e463dd commit eca1c18

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
@@ -179,17 +179,11 @@ export abstract class IgxComboBaseDirective implements IgxComboBase, AfterViewCh
179179
return;
180180
}
181181
const selection = this.selectionService.get(this._id);
182+
this.selectionService.clear(this._id);
182183
this._id = value;
183184
if (selection) {
184185
this.selectionService.set(this._id, selection);
185186
}
186-
if (this.dropdown?.open) {
187-
this.dropdown.close();
188-
}
189-
if (this.inputGroup?.isFocused) {
190-
this.inputGroup.element.nativeElement.blur();
191-
this.inputGroup.isFocused = false;
192-
}
193187
}
194188

195189
/**

0 commit comments

Comments
 (0)