corejavascript / corejavascript/typeahead.js

Programatically select item from list that have duplicated name

Open
#141 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
968
Forks
231
PR merge metrics
No merged PRs in 30d

Description

When I call `$(selector).typeahead('val', 'city1')` to select one item with name 'city1' in list of items where there is duplicate name in two item, typeahead select first item instead of what i want

For example here I want to select item with id 2:
https://jsfiddle.net/or3u1bgh/7/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.