Open matthew-dean opened 6 months ago
I have an existing codebase where the list of options sets the default item to have an empty string value ''.
''
After migrating this to PrimeVue, I discovered that the first item could not be selected, nor would be selected by default.
https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-grxldp?file=src%2FApp.vue
3.47.2
3.x
TypeScript
Vue CLI App
Chrome Version 123.0.6312.59 (Official Build) (arm64)
The first item should be selected (and selectable)
same issue in 4.0.0 rc series
Describe the bug
I have an existing codebase where the list of options sets the default item to have an empty string value
''
.After migrating this to PrimeVue, I discovered that the first item could not be selected, nor would be selected by default.
Reproducer
https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-grxldp?file=src%2FApp.vue
PrimeVue version
3.47.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome Version 123.0.6312.59 (Official Build) (arm64)
Steps to reproduce the behavior
Expected behavior
The first item should be selected (and selectable)