You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to this issue #14061 Dropdown component won't render an option when it has group property. I believe the same solution to mentioned issue should be applied to Dropdown component when it's deciding which template to use.
I guess I wasn't clear. We have a lot of models in the app that have group property. For some dropdowns we use group property as label and as value, not for grouping options. Now with this update it seems like we have to rename all of the properties in our models to something else in order for them to work again?
Describe the bug
Similar to this issue #14061 Dropdown component won't render an option when it has
group
property. I believe the same solution to mentioned issue should be applied to Dropdown component when it's deciding which template to use.Environment
Any environment
Reproducer
(https://stackblitz.com/edit/ee5k5j?file=src%2Fapp%2Fdemo%2Fdropdown-basic-demo.ts)
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
Browser(s)
No response
Steps to reproduce the behavior
Add a
group
property to any option.https://stackblitz.com/edit/ee5k5j?file=src%2Fapp%2Fdemo%2Fdropdown-basic-demo.ts
Expected behavior
The items should be rendered OR the docs should warn that
group
cannot be used as a property.The text was updated successfully, but these errors were encountered: