Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Duplicate of the same id in choices #1525

Closed
wesleycho opened this issue Mar 25, 2016 · 1 comment
Closed

Duplicate of the same id in choices #1525

wesleycho opened this issue Mar 25, 2016 · 1 comment

Comments

@wesleycho
Copy link
Contributor

Bug description:

When using the regular repeat attribute in ui-select-choices with ng-repeat syntax, the id attribute repeats ui-select-choices-row-0-, leading to selector issues. Note that this does not occur when the optgroup feature is used.

Link to minimally-working plunker that reproduces the issue:

Type New York into the input and inspect the id attributes of the repeated elements at any point where there are 2+ results in the dropdown.

http://plnkr.co/edit/yp78QItKCbZPlcorihtW?p=preview

Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS

Angular: 1.5.2

UI-Select: 0.16.0

Bootstrap/Select2/Selectize CSS (if applicable): N/A

@user378230
Copy link
Contributor

Quoted in #1522 so going to close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants