This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ng:options - "not selected" option tag not compiled #562
Closed
Description
On 9 September 2011 21:09, David Loehr dloehr@servi...m wrote:
In 0.9.17, I could do:
<select name="something" ng:options="address.toString() for address in addresses">
<option value="">{{emptyLabel}}</option>
</select>
and the {{emptyLabel}} was evaluated by angular, but in 0.9.18 and
0.9.19, angular leaves the literal "{{emptyLabel}}" there.Compare: http://jsfiddle.net/THsAj/ (0.9.17), http://jsfiddle.net/bS59A/
(0.9.18), http://jsfiddle.net/bS59A/1/ (0.9.19)Was there a reason for this change?
On 12 September 2011 19:47, Misko Hevery misko@getang...m wrote:
yes, see: http://docs.angularjs.org/#!/api/angular.directive.ng:options
The issue was performance, but I con see that there may be a need for this.
So pleases file a bug.
Metadata
Metadata
Assignees
Labels
No labels