Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Dropdown: show emptyMessage when Dropdown with VirtualScroller has no data#8125

Merged
melloware merged 1 commit into
primefaces:masterfrom
sergiomendi:sergiomendi-fix-dropdown-virtualscroller-emptyMessage
Jul 7, 2025
Merged

Dropdown: show emptyMessage when Dropdown with VirtualScroller has no data#8125
melloware merged 1 commit into
primefaces:masterfrom
sergiomendi:sergiomendi-fix-dropdown-virtualscroller-emptyMessage

Conversation

@sergiomendi

@sergiomendi sergiomendi commented Jul 7, 2025

Copy link
Copy Markdown
Contributor

fix: show emptyMessage when Dropdown with VirtualScroller has no data

Defect Fixes

Fix Dropdown with VirtualScrollerOptions to show emptyMessage when there is no data, even if not filtering.

Previously, if VirtualScroller was used and there were no options, it would render nothing instead of the empty message. Now it properly shows the emptyMessage when options are empty.

This ensures consistent UX with and without VirtualScroller.

Fix #4193
Fix #4194

Feature Requests

Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes.
Smaller scaled feature implementations such as adding a property to a component will be considered for merging.

Fix when there is no data in Dropdown with VirtualScrollerOptions does not show emptyMessage
@github-actions

github-actions Bot commented Jul 7, 2025

Copy link
Copy Markdown

Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please manually link to an issue or mention it in the description using #<issue_id>.

@melloware melloware added this to the 10.9.7 milestone Jul 7, 2025
@melloware melloware added the Type: Bug Issue contains a defect related to a specific component. label Jul 7, 2025
@melloware melloware merged commit 478f69c into primefaces:master Jul 7, 2025
4 of 5 checks passed
@sergiomendi sergiomendi deleted the sergiomendi-fix-dropdown-virtualscroller-emptyMessage branch July 15, 2025 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Type: Bug Issue contains a defect related to a specific component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EmptyFilterMessage does not work on Dropdown with virtualscroll

2 participants