Top "V-model" questions

Use this tag for questions related to the v-model directive of Vue.

Vue : Limit characters in text area input, truncate filter?

<textarea name="" id="" cols="30" rows="10" v-model="$store.state.user.giftMessage | truncate 150"></textarea> I tried creating a …

vue.js vuejs2 truncate v-model
Why is the Vue.js input value not updating?

I have a Vue.js text-input component like the following: <template> <input type="text" :id="name" :name="…

javascript vue.js vuejs2 event-bus v-model
Dynamically data doesn't update when changing v-model input value in Vuejs

I am building a weather app with this Weather API. I am trying to add an <input> field …

vue.js data-binding vuejs2 v-model vue-directives
Vue.js v-model with dynamic list of radio buttons

I am trying to make a reuseable vue radio-button component that will take a variable name, and an object containing …

vue.js radio-button v-model vue-directives
How to set initial values for data from vuex?

My goal is to create an 'edit account' form such that a user can modify their account data. I want …

javascript vue.js vuex v-model
Textarea v-model initial value with VueJS and Laravel

I want to display the username as the default textarea value for markdown editor using blade syntax. <textarea v-model="…

laravel vue.js v-model
v-model on input type files vue.js

How to take data from v-model array in input type="file" multiple ? <input type="file" multiple v-model="modFiles[index]"&…

javascript vue.js v-model
Should we use v-model to modify Vuex store?

Hello I am beginner in Vue and I do have a problem that's really bugging me. I am wondering should …

javascript vue.js vuejs2 vuex v-model
What is the difference between v-model and .sync when used on a custom component

I don't understand the difference between v-model and .sync used on a component. <my-component v-model="myVar"> V-model is …

vue.js vuejs2 vue-component v-model
VueJS: Use v-model and :value in the same time

I'am searching a way to use v-model and :value in same time on the same object. I got this error: :…

vue.js vuejs2 v-model