Vuetify: [Bug Report] VTextField parses value of input type number as string

Created on 13 May 2019  路  1Comment  路  Source: vuetifyjs/vuetify

Versions and Environment

Vuetify: 1.5.14
Vue: 2.6.10
Browsers: Chrome 74.0.3729.108
OS: Mac OS 10.14.4

Steps to reproduce

  1. Create a component of v-text-field with type of number.
  2. Type numbers
  3. Returns text as value

Expected Behavior

Type numbers in input field should return number type of value.

Actual Behavior

Returns text type of value. Vue displays error when used that value passing to other components expecting prop with number type

Reproduction Link

https://codepen.io/anon/pen/GajoRM

working as intended

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings