Skip to content

Commit

Permalink
Merge pull request #14333 from primefaces/issue-14294
Browse files Browse the repository at this point in the history
Fixed #14294 - Listbox | emptyMessage not working
  • Loading branch information
cetincakiroglu committed Dec 12, 2023
2 parents b49fedf + 0a848eb commit 90ef8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/listbox/listbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const LISTBOX_VALUE_ACCESSOR: any = {
</li>
<li *ngIf="!hasFilter() && isEmpty()" class="p-listbox-empty-message" role="option">
<ng-container *ngIf="!emptyTemplate; else empty">
{{ emptyMessageText }}
{{ emptyMessage }}
</ng-container>
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
</li>
Expand All @@ -219,7 +219,7 @@ export const LISTBOX_VALUE_ACCESSOR: any = {
<ng-container *ngTemplateOutlet="footerTemplate; context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
</div>
<span *ngIf="isEmpty()" role="status" aria-live="polite" class="p-hidden-accessible">
{{ emptyMessageText }}
{{ emptyMessage }}
</span>
<span role="status" aria-live="polite" class="p-hidden-accessible">
{{ selectedMessageText }}
Expand Down

0 comments on commit 90ef8ac

Please sign in to comment.