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 0af641b commit 7965d9aCopy full SHA for 7965d9a
projects/igniteui-angular/src/lib/combo/combo.component.ts
@@ -1316,13 +1316,14 @@ export class IgxComboComponent extends DisplayDensityBase implements IgxComboBas
1316
* @hidden @internal
1317
*/
1318
public handleClearItems(event: Event): void {
1319
- if (!this.disabled) {
1320
- this.deselectAllItems(true, event);
1321
- if (this.collapsed) {
1322
- this.getEditElement().focus();
1323
- } else {
1324
- this.focusSearchInput(true);
1325
- }
+ if (this.disabled) {
+ return;
+ }
+ this.deselectAllItems(true, event);
+ if (this.collapsed) {
+ this.getEditElement().focus();
+ } else {
1326
+ this.focusSearchInput(true);
1327
}
1328
event.stopPropagation();
1329
0 commit comments