Skip to content

QInput with type="number" not automatically typecast? #12942

Discussion options

You must be logged in to vote

The .number modifier is applied only to native input elements, not to components.
Correct way:

<q-input v-model.number="variable" type="number"

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants