+ 5

How to change value of v-model attribute?

I have 2 inputs, each has its own v-model attribute. Than I have button and when i click on it change function is called. Basically i want to change v-model value of both inputs. Is it possible? I am looking for something like document.getElementById("1").vmodel = newValue; https://code.sololearn.com/WsZ37LaHiDzb/?ref=app

25th Aug 2020, 9:11 AM
Atom
Atom - avatar
2 odpowiedzi
+ 1
Couldn't find solution on the link you sent.
25th Aug 2020, 8:27 PM
Atom
Atom - avatar