Answer the question
In order to leave comments, you need to log in
How about v-model in input type="number"?
Hello. I have an element in my template
export default {
data() {
return {
listCount: 5,
}
},
<input type="number" v-model="listCount" min="1" max="15">
Answer the question
In order to leave comments, you need to log in
v-model.number="listCount"
https://ru.vuejs.org/v2/guide/forms.html#number
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question