vincentveyrat
3905
12
Vue

Vue 2 and initial input form values

Posted 2 years ago by vincentveyrat

According to the migration guide, it's not possible to pass data from input inline value to Vue instance anymore.

I tried

<input type="text" v-model="fill" value="my_value">

and got a inline value attributes will be ignored when using v-model warning.

Do you guys found a way to get the value from an edited form (or an unvalidated form) and bring them to Vue 2 ?

Please sign in or create an account to participate in this conversation.