@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.
@@ -3253,7 +3253,7 @@ let DropDownList = class DropDownList extends DropDownBase {
3253
3253
  this.wireListEvents();
3254
3254
  }
3255
3255
  this.selectedElementID = this.selectedLI ? this.selectedLI.id : null;
3256
- attributes(this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': this.inputElement.id + '_options' });
3256
+ attributes(this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': this.element.id + '_options' });
3257
3257
  this.inputElement.setAttribute('aria-expanded', 'true');
3258
3258
  const inputParent = this.isFiltering() ? this.filterInput.parentElement : this.inputWrapper.container;
3259
3259
  addClass([inputParent], [dropDownListClasses.inputFocus]);
@@ -4027,8 +4027,10 @@ let DropDownList = class DropDownList extends DropDownBase {
4027
4027
  }
4028
4028
  break;
4029
4029
  case 'showClearButton':
4030
- Input.setClearButton(newProp.showClearButton, this.inputElement, this.inputWrapper, null, this.createElement);
4031
- this.bindClearEvent();
4030
+ if (!this.inputWrapper.clearButton) {
4031
+ Input.setClearButton(newProp.showClearButton, this.inputElement, this.inputWrapper, null, this.createElement);
4032
+ this.bindClearEvent();
4033
+ }
4032
4034
  break;
4033
4035
  default:
4034
4036
  {