[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.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<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>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<span class='form-control shell'>
|
||||
<span class='field control'>
|
||||
<input type="text"
|
||||
ng-required="ngRequired"
|
||||
ng-model="ngModel[field]"
|
||||
name="mctControl">
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user