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 in vue-instant get selected id? #60

Open
PetroGromovo opened this issue Oct 28, 2020 · 1 comment
Open

How in vue-instant get selected id? #60

PetroGromovo opened this issue Oct 28, 2020 · 1 comment

Comments

@PetroGromovo
Copy link

I added vue-instant (^1.0.4) component for my vuejs app ^2.6.10 app and I set array of data with key/value fields as id/title But when I select value I got title(property :suggestion-attribute) value in v-model variable. If there is a way to get id value?

Manually iterating data listing seems not very good decision as this is not unique as for title field. But it has unique id.

Thanks!

@voibhiv
Copy link

voibhiv commented Feb 13, 2023

Hello Petro, do you find a way to do this? i have the same problem 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

2 participants