SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(ngScenario): select().option(val) should prefer exact value match

With select(...).option(val) it previously would select the first node
which contains the value, even if an exact match was available.
This fix prefers exact matches if available, otherwise it reverts
to the previous 'contains' behaviour for backwards compatibility.

Closes #2856
S
Stephen Merity committed
22a9b1ac07f98d07e1e5d71ce961411b5fa9b42d
Parent: 7fef06f
Committed by Pete Bacon Darwin <pete@bacondarwin.com> on 7/12/2013, 9:05:23 AM