@syncfusion/ej2-dropdowns 22.2.10 → 22.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3314,7 +3314,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
3314
3314
  _this.wireListEvents();
3315
3315
  }
3316
3316
  _this.selectedElementID = _this.selectedLI ? _this.selectedLI.id : null;
3317
- attributes(_this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': _this.inputElement.id + '_options' });
3317
+ attributes(_this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': _this.element.id + '_options' });
3318
3318
  _this.inputElement.setAttribute('aria-expanded', 'true');
3319
3319
  var inputParent = _this.isFiltering() ? _this.filterInput.parentElement : _this.inputWrapper.container;
3320
3320
  addClass([inputParent], [dropDownListClasses.inputFocus]);
@@ -4092,8 +4092,10 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
4092
4092
  }
4093
4093
  break;
4094
4094
  case 'showClearButton':
4095
- Input.setClearButton(newProp.showClearButton, this_1.inputElement, this_1.inputWrapper, null, this_1.createElement);
4096
- this_1.bindClearEvent();
4095
+ if (!this_1.inputWrapper.clearButton) {
4096
+ Input.setClearButton(newProp.showClearButton, this_1.inputElement, this_1.inputWrapper, null, this_1.createElement);
4097
+ this_1.bindClearEvent();
4098
+ }
4097
4099
  break;
4098
4100
  default:
4099
4101
  {