Skip to content

Commit

Permalink
fix: use ariaMultiSelectable only with multiple select
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Feb 17, 2024
1 parent 2b49a0c commit a39c535
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export class MultipleSelectInstance {
this.ulElm = document.createElement('ul');
this.ulElm.role = 'combobox';
this.ulElm.ariaExpanded = 'false';
this.ulElm.ariaMultiSelectable = 'true';
this.ulElm.ariaMultiSelectable = String(!this.options.single);
this.dropElm.appendChild(this.ulElm);

if (this.options.showOkButton && !this.options.single) {
Expand Down

0 comments on commit a39c535

Please sign in to comment.