1
I ran into a problem, to pass the value of my input to my function without using v-model
.
I know it works that way
<Input @click="func" />
func(val){
alert(val)
}
But then I can’t pass another parameter, ex: <Input @click="func(status)" />
, this way it will receive only the value I passed, but I would like to be able, besides passing the value that is in the input, more parameters of my choice.
From the input itself, if you call it that
<Input @click="func">
the function already receives the value if I pass the parameterval
in the function, however if I pass any parameter in the click, I no longer have the value.– Rafael Augusto
@DVD It worked, thanks
– Rafael Augusto