mirror of
https://github.com/nasa/openmct.git
synced 2025-01-11 07:23:16 +00:00
363a6f6b47
Add a type for composite controls, to allow populating arrays (e.g. preferred size). WTD-593.
13 lines
441 B
HTML
13 lines
441 B
HTML
<ng-form name="mctFormItem" ng-repeat="item in structure.items">
|
|
<mct-control key="item.control"
|
|
ng-model="ngModel[field]"
|
|
ng-required="item.required"
|
|
ng-pattern="ngPattern"
|
|
options="item.options"
|
|
structure="row"
|
|
field="$index">
|
|
</mct-control>
|
|
<span class="composite-control-label">
|
|
{{item.name}}
|
|
</span>
|
|
</ng-form> |