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

Select - Model doesn't update #2240

Closed
jdlaroche opened this issue Mar 27, 2013 · 2 comments
Closed

Select - Model doesn't update #2240

jdlaroche opened this issue Mar 27, 2013 · 2 comments

Comments

@jdlaroche
Copy link

Tested with Chrome.

If the model binded to a select box isnt initialized in the controller, the model won't update if you select a value and then try to select a different value using the arrows.

I made a plunker with an example and steps to reproduce the issue :
http://plnkr.co/edit/cFlTRZ

Steps :
Select the first value in the not working selectbox. The model will update.
Press the down arrow key to select the second value. The model won't update.
Press the down arrow key again to select the third value. The model will update.

@mernen
Copy link
Contributor

mernen commented Apr 24, 2013

Same issue as #2230, this is a bug in Chrome. The culprit here is the deletion of the empty element on change (probably because the <select> element's selectedIndex ends up remaining the same).

@btford btford closed this as completed Aug 24, 2013
@btford
Copy link
Contributor

btford commented Aug 24, 2013

As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.

Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.

Thanks!

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

3 participants