We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4635792 commit 54de322Copy full SHA for 54de322
projects/igniteui-angular/src/lib/combo/combo.component.ts
@@ -1276,13 +1276,14 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
1276
* @hidden @internal
1277
*/
1278
public handleClearItems(event: Event): void {
1279
- if (!this.disabled) {
1280
- this.deselectAllItems(true, event);
1281
- if (this.collapsed) {
1282
- this.getEditElement().focus();
1283
- } else {
1284
- this.focusSearchInput(true);
1285
- }
+ if (this.disabled) {
+ return;
+ }
+ this.deselectAllItems(true, event);
+ if (this.collapsed) {
+ this.getEditElement().focus();
+ } else {
1286
+ this.focusSearchInput(true);
1287
}
1288
event.stopPropagation();
1289
0 commit comments