@syncfusion/ej2-dropdowns 20.2.44 → 20.2.45
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.
- package/CHANGELOG.md +2 -0
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +5 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +5 -3
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/drop-down-list/drop-down-list.js +5 -2
- package/src/multi-select/multi-select.js +0 -1
|
@@ -3504,14 +3504,14 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3504
3504
|
if (this.element.tagName === 'INPUT') {
|
|
3505
3505
|
this.inputElement = this.element;
|
|
3506
3506
|
if (isNullOrUndefined(this.inputElement.getAttribute('role'))) {
|
|
3507
|
-
this.inputElement.setAttribute('role', '
|
|
3507
|
+
this.inputElement.setAttribute('role', 'combobox');
|
|
3508
3508
|
}
|
|
3509
3509
|
if (isNullOrUndefined(this.inputElement.getAttribute('type'))) {
|
|
3510
3510
|
this.inputElement.setAttribute('type', 'text');
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
3513
|
else {
|
|
3514
|
-
this.inputElement = this.createElement('input', { attrs: { role: '
|
|
3514
|
+
this.inputElement = this.createElement('input', { attrs: { role: 'combobox', type: 'text' } });
|
|
3515
3515
|
if (this.element.tagName !== this.getNgDirective()) {
|
|
3516
3516
|
this.element.style.display = 'none';
|
|
3517
3517
|
}
|
|
@@ -3560,6 +3560,9 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
3560
3560
|
attributes(this.targetElement(), this.getAriaAttributes());
|
|
3561
3561
|
this.updateDataAttribute(this.htmlAttributes);
|
|
3562
3562
|
this.setHTMLAttributes();
|
|
3563
|
+
if (this.targetElement() === this.inputElement) {
|
|
3564
|
+
this.element.removeAttribute('aria-labelledby');
|
|
3565
|
+
}
|
|
3563
3566
|
if (this.value !== null || this.activeIndex !== null || this.text !== null) {
|
|
3564
3567
|
this.initValue();
|
|
3565
3568
|
}
|
|
@@ -12630,7 +12633,6 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
12630
12633
|
});
|
|
12631
12634
|
if (this.mode === 'Default' || this.mode === 'Box') {
|
|
12632
12635
|
this.inputElement.setAttribute('aria-describedby', this.chipCollectionWrapper.id);
|
|
12633
|
-
this.inputElement.setAttribute('aria-labelledby', this.chipCollectionWrapper.id);
|
|
12634
12636
|
}
|
|
12635
12637
|
if (this.element.tagName !== this.getNgDirective()) {
|
|
12636
12638
|
this.element.style.display = 'none';
|