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

how to implement v-on:change="" ? #15

Open
arisdevx opened this issue Oct 14, 2019 · 1 comment
Open

how to implement v-on:change="" ? #15

arisdevx opened this issue Oct 14, 2019 · 1 comment

Comments

@arisdevx
Copy link
Contributor

when i create the new function like checkData() using onChange method, but not effect

@ddlaat
Copy link

ddlaat commented Oct 22, 2019

When looking at the code I see that an event is emitted called input. So you should be able to catch that event by adding this:

<v-select @input="checkData" />

And your checkData() function should look similar to this:

checkData(value) {
    console.log(value)
  }

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

2 participants