when using vue, if I have an input to enter, after typing, I use button to get the input value, and then do subsequent operations. Generally, we use v-module to bind input to data.
but if my input is looped out, typing one causes the other to be linked, and I just want to get the value of input on button quickly. Is there any good way to just write on html and pass the value of input input directly to getInput () as a parameter?
<input type="text" name="name" v-module="name">
<button @click="getInput()"></button>
<input type="text" name="name" v-module="name">
<button @click="getInput()"></button>
<input type="text" name="name" v-module="name">
<button @click="getInput()"></button>