Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get event with @input on fg-input #88

Open
chrisdel101 opened this issue May 15, 2019 · 0 comments
Open

Get event with @input on fg-input #88

chrisdel101 opened this issue May 15, 2019 · 0 comments

Comments

@chrisdel101
Copy link

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.

How can I return the full event here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant