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

Programatically select item from list that have duplicated name #1643

Open
iammrali opened this issue May 21, 2017 · 1 comment
Open

Programatically select item from list that have duplicated name #1643

iammrali opened this issue May 21, 2017 · 1 comment

Comments

@iammrali
Copy link

iammrali commented May 21, 2017

When I call $(selector).typeahead('val', city1) to select one item with name city1 in list of items but there is duplicate name in two item, Twitter typeahead select first item instead of that i want
For example I want to select item with id 2 here:
https://jsfiddle.net/or3u1bgh/7/

@prancefm
Copy link

prancefm commented Dec 9, 2018

I have the same question. :-)

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

No branches or pull requests

2 participants