Skip to content

Commit

Permalink
Merge pull request #15162 from primefaces/issue-15122
Browse files Browse the repository at this point in the history
Fixed #15122 - Dropdown | Missing ariaLabel when in editable = true
  • Loading branch information
cetincakiroglu authored Mar 26, 2024
2 parents 54b7dcf + 3a06858 commit 3414de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export class DropdownItem {
[disabled]="disabled"
aria-haspopup="listbox"
[attr.placeholder]="modelValue() === undefined || modelValue() === null ? placeholder() : undefined"
[attr.aria-label]="ariaLabel || (label() === 'p-emptylabel' ? undefined : label())"
(input)="onEditableInput($event)"
(keydown)="onKeyDown($event)"
(focus)="onInputFocus($event)"
Expand Down

0 comments on commit 3414de1

Please sign in to comment.