Dropdown: Selection is not working correctly with falsy values #3891
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The dropdown component does not correctly apply the "filled" state class when the selected value is falsey. This means if you use a floating label with a falsey value, the label does not float when the value is selected.
Reproducer
https://codesandbox.io/s/vibrant-framework-1tnvq9?file=/src/App.vue
PrimeVue version
3.26.0
Vue version
3.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The "filled" state should work for falsey values.
The text was updated successfully, but these errors were encountered: