You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I am trying to bind an array of integers to a select using 1.3.0. There is a difference if the array is populated when the controller is initialized versus after an event occurs. If it's populated after an event, the wrong item is selected.
It's unlikely that this is going to be fixed in 1.3.x, because ngOptions was pretty heavily refactored.
----- Ursprüngliche Nachricht -----
Von: "Kent C. Dodds" [email protected]
Gesendet: 28.04.2015 15:36
An: "angular/angular.js" [email protected]
Cc: "Martin Staffa" [email protected]
Betreff: Re: [angular.js] Bug with select binding to an array of integers(#9700)
This issue is still broken in 1.3.15 but it is fixed in 1.4.0-rc.0 http://jsfiddle.net/8xc9pctd/2/
—
Reply to this email directly or view it on GitHub.
I am trying to bind an array of integers to a select using 1.3.0. There is a difference if the array is populated when the controller is initialized versus after an event occurs. If it's populated after an event, the wrong item is selected.
http://jsfiddle.net/fwanicka/n0sbeuab/ (array populated when controller initialized)
http://jsfiddle.net/fwanicka/6sx152dm/ (array populated after a timeout/event)
The second fiddle works in 1.2.23, so this is a breaking change from that version, which we just upgraded from:
http://jsfiddle.net/fwanicka/6s5rzz9j/ (array populated after a timeout/event using 1.2.23)
The text was updated successfully, but these errors were encountered: