Input type number with useField casting value to number? #4453
-
Hello, I am in the process of upgrading from a really old version of vee-validate (with vue2) to vv4 and vue3. I am using Is there a way to force the value to stay a string instead of being converted to a number? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well... For anyone that lands here while searching, this isn't vee validate, it is vue itself when using v-model + input type number: |
Beta Was this translation helpful? Give feedback.
Well... For anyone that lands here while searching, this isn't vee validate, it is vue itself when using v-model + input type number:
The number modifier is applied automatically if the input has type="number".