InputNumber: value set to null when second digit with cursor behind initial value is entered #5735
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The bug appears in the InputNumber component under the following conditions:
0
When the reproductions steps below are followed, the input value will be set to
null
.versions used:
"nuxt-primevue": "^0.3.1",
"primeicons": "^7.0.0",
"primevue": "^3.52.0"
For all who suffer from this bug: using
highlight-on-focus
in the InputNumber component may mitigate the effect of this bug.Reproducer
https://stackblitz.com/edit/primevue-nuxt-issue-template-8scsch?file=app.vue
PrimeVue version
3.52.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
10
is set as value of the input fieldThe text was updated successfully, but these errors were encountered: