SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 93 JavaScript

fix(ngOptions): only watch numeric properties of an array

It turns out that the options that are displayed are more constrained than
just whether the property starts with a $ character.
If the values collection is array-like then we only display the options that
are identified by numerical properties - it's an array right?

So this commit aligns `getWatchables` with `getOptions`.

See #12010
P
Peter Bacon Darwin committed
14638f4a60053b085565e597fc74bd31cf0d372b
Parent: 0c1fbdd