1👍
you can use computed https://v2.vuejs.org/v2/guide/computed.html#Computed-Setter
Something like this:
computed: {
title: {
set: function(value){
this.todo.title = value
},
get: function() {
return this.todo.title
}
}
}
Then bind computed property with input
<v-text-field
v-model="title"
outlined
full-width
label="Another input"
></v-text-field>
- [Vuejs]-Vue.js v-bind:value not dsplaying the value
- [Vuejs]-Basic nodejs and express server setup not working
Source:stackexchange.com