Number input saved as string in QPopupEdit in QTable #15854
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 I am using a
<q-input type="number">
inside a<q-popup-edit>
in a<q-td>
, I need to specify the value to change asv-model.number="props.row.myvalue"
instead of justv-model="props.row.myvalue"
and it is not obvious why it is not enough to have the<q-input>
output a number.This may be a similar issue as #3924 .
Please see the codepen for trying it out.
What did you expect to happen?
I would have expected that specifying
type="number"
for the<q-input>
to be enough.Reproduction URL
https://codepen.io/eijk/pen/BaqqRLK
How to reproduce?
bad
value fromnumber
tostring
(quotes get added)Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Firefox
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: