Posts by Pablo Papalardo • 101 points
1 post
-
0
votes2
answers1856
viewsA: Clear VUE v-model data at once
You could do with the code below for (field in this.object) this.object[field] = '' But if you have an array, object or number in the scope, it will be replaced by string(' '). Solving this problem,…