openmct/platform/forms/res/templates/controls/select.html
Victor Woeltjen d7c7e2835f [Forms] Let Angular force required rows
Pass along ng-required values such that Angular may
handle tracking of form validity based on the presence
of required fields. WTD-530.
2014-11-26 13:20:07 -08:00

9 lines
310 B
HTML

<select class='form-control input select'
ng-model="ngModel[field]"
ng-options="o.name for o in options"
ng-required="ngRequired"
name="mctControl">
<option value="" ng-if="!ngModel[field]">- Select One -</option>
<span class='ui-symbol arw colorKey'>v</span>
</select>