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

Commit db7e906

Browse files
author
Kent C. Dodds
committed
Merge pull request #63 from antoinepairet/patch-2
Bootstrap version of #61 to close #60 (select)
2 parents 079be10 + 388257d commit db7e906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/directives/bootstrap/formly-field-select.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ng-required="options.required"
1111
ng-disabled="options.disabled"
1212
ng-init="value = options.options[options.default]"
13-
ng-options="option.name group by option.group for option in options.options">
13+
ng-options="option.value as option.name group by option.group for option in options.options">
1414
</select>
1515
<p id="{{id}}_description" class="help-block" ng-if="options.description">{{options.description}}</p>
16-
</div>
16+
</div>

0 commit comments

Comments
 (0)