-
Notifications
You must be signed in to change notification settings - Fork 89
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 get v-model #66
Comments
@raajshekhar the selected object is passed as a param with the
|
And how do you pass another parameter to that function? I am using this in a v-for and on select I need to assign the selected item to the respective item in the array I am iterating over. Like so:
|
I would like to know this as well... |
If you're using more than one autocomplete, it might make sense to wrap them in a parent component and then keep the relevant data you'd like to access there. Otherwise, you can also add the parameter you're trying to pass to the data itself, so it gets passed to the function set with |
And, if I don't select a value but continue typing to establish a new value, how do I get the typed value to post? |
I've added :on-input="inputRepository" and now it's getting the value typed. |
I have used this autocomplete.
i need the user selected data but here i didn't v-model, so how can i get the data
The text was updated successfully, but these errors were encountered: