Questions tagged [v-model]

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

The v-model directive is used to create two-way data bindings on form input, textarea, and select elements. It automatically picks the correct way to update the element based on the input type. Although a bit magical, v-model is essentially syntax sugar for updating data on user input events. For more information: https://vuejs.org/v2/guide/forms.html#Modifiers

420 questions
6
votes
3 answers

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: :value="user.firstName" conflicts with v-model on the same element because the latter already expands to a value binding internally. The purpose…
wawanopoulos
  • 9,614
  • 31
  • 111
  • 166
6
votes
2 answers

Convert file to base64 and add v-model binding in Vuejs

I am building a component which has file input fields and being rendered through function in VueJs: export default { name: 'nits-file-input', props: { label: String, }, render (createElement) { return…
Nitish Kumar
  • 6,054
  • 21
  • 82
  • 148
5
votes
1 answer

Disable v-dialog persistent animation

I am using the v-dialog component from vuetify with the persistent tag currently in my project. Now, persistent prevents the user from closing the dialog by clicking outside.…
user3622981
  • 113
  • 8
5
votes
1 answer

How can i put content from tiptap text editor into a v-model?

I tried to bind editor.content directly to this.newTutorial.content but no luck yet.. in console : here is my code :