QInput returns empty string for number model #17359
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When using the QInput to capture numbers, deleting the entry sets the model's value to an empty string, which is not a number as expected.
What did you expect to happen?
Deleting the number input entry manually or using the clearable icon should give the same result: a null value
Reproduction URL
https://codepen.io/yop12/pen/NWZWQdK
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: