Dropdown: throws error when grouped item is selected #5445
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
instance.label.length === 0
(instance
'slabel
prop isundefined
)Reproducer
https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-krpj4v?file=src%2FApp.vue
PrimeVue version
3.48.0 - 3.50.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
See above
Expected behavior
Dropdown should not throw an internal error (ideally, even if a prop is missing? Which I can't tell if one is or not)
The text was updated successfully, but these errors were encountered: