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 894403a commit ea0ef4eCopy full SHA for ea0ef4e
projects/igniteui-angular/src/lib/combo/combo.component.ts
@@ -1324,13 +1324,14 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
1324
* @hidden @internal
1325
*/
1326
public handleClearItems(event: Event): void {
1327
- if (!this.disabled) {
1328
- this.deselectAllItems(true, event);
1329
- if (this.collapsed) {
1330
- this.getEditElement().focus();
1331
- } else {
1332
- this.focusSearchInput(true);
1333
- }
+ if (this.disabled) {
+ return;
+ }
+ this.deselectAllItems(true, event);
+ if (this.collapsed) {
+ this.getEditElement().focus();
+ } else {
1334
+ this.focusSearchInput(true);
1335
}
1336
event.stopPropagation();
1337
0 commit comments