-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component: Listbox (p-listbox) shows [object Object] with template #17098
Comments
Hi, Cannot reproduce the issue please see the live example: https://primeng.org/listbox#template |
We're unable to replicate your issue. Could you please try it with the latest PrimeNG version? If the problem continues, could you create a reproducer using PrimeNG Issue Template or provide additional details by editing this issue? This issue will be closed if no activities in 20 days. |
More information is needed to find a solution. A runnable StackBlitz example and additional details would be helpful. |
Hmm, in the given template (stackblitz) I cannot reproduce either. I'll recheck my code base. |
Describe the bug
When I use , the template is not shown.
optionLabel is not used
I got "[object Object]" for each and every list item
Environment
Windows 11
Angular 18
"primeng": "^18.0.0",
"@primeng/themes": "^18.0.0",
"primeicons": "^7.0.0",
Reproducer
No response
Angular version
18.2.0
PrimeNG version
18.0.0
Build / Runtime
TypeScript
Language
ALL
Node version (for AoT issues node --version)
v22.12.0
Browser(s)
Chrome - Version 131.0.6778.140 (Official Build) (64-bit)
Steps to reproduce the behavior
No response
Expected behavior
List items are listed as the template defines them
The text was updated successfully, but these errors were encountered: