I have and fg-input that looks something like this.
<fg-input
v-model="newReward.description"
placeholder="Describe the reward to be given out"
label="Reward Name"
maxlength="200"
:error="errors.createNameError"
name="createName"
@input="handleInputBlanks($event)">
</fg-input>
handleInputBlanks(e){
console.log(e) => 'HELLO'
}
However when I print out handleInput I do not get the event, like I do with an @change. I only get the text from the input. But I need the event to see which input I am on.
I have and
fg-input
that looks something like this.However when I print out
handleInput
I do not get the event, like I do with an@change
. I only get the text from the input. But I need the event to see which input I am on.How can I return the full event here?