p-dropdown: when filtering, placeholder is displayed even if there is a selected option #14282
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
It should keep displaying the selected option label.
Environment
PrimeNG official documentation: https://primeng.org/dropdown#filter
Reproducer
https://primeng.org/dropdown#filter
Angular version
17.0.0
PrimeNG version
17.0.0-rc.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Only the selected option label should be displayed.
I've forked and fixed it, let me know if you'd like a PR:
The text was updated successfully, but these errors were encountered: