Select: Selecting 0
option shows empty
in select
#6437
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
A select with numbers as options
[0,1,2,3]
.Selecting 1 shows 1 as the selected value:

Selecting 0 shows

empty
as the selected value:It is possible to bypass this behavior by converting the number to a string so the options array looks like:
['0','1','2','3']
Reproducer
https://stackblitz.com/edit/vitejs-vite-upuyuz?file=src%2FApp.vue
PrimeVue version
4.0.7
Vue version
4.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: