Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngOptions select as selects first option (due to reuse?) #12283

Closed
asharpe opened this issue Jul 7, 2015 · 3 comments
Closed

ngOptions select as selects first option (due to reuse?) #12283

asharpe opened this issue Jul 7, 2015 · 3 comments

Comments

@asharpe
Copy link

asharpe commented Jul 7, 2015

See http://plnkr.co/edit/uQL4B6C32f65Cm4lnFNH?p=preview

Inspecting the options in the select shows that both options have been selected.

@asharpe
Copy link
Author

asharpe commented Jul 7, 2015

Here's another plunk that indicates it's the reuse of the first option (with selected="selected") that's causing the option to remain selected - http://plnkr.co/edit/hmsvIu5OV8o2lCu1Ass1?p=preview

@asharpe
Copy link
Author

asharpe commented Jul 7, 2015

Possibly a dupe of #11727

@asharpe asharpe changed the title ngOptions select as selects first option (due to reuse) ngOptions select as selects first option (due to reuse?) Jul 7, 2015
@Narretz
Copy link
Contributor

Narretz commented Jul 10, 2015

Yes that's a dupe of #11727

@Narretz Narretz closed this as completed Jul 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants