mirror of
https://github.com/nasa/openmct.git
synced 2025-03-13 15:56:49 +00:00
[Controls] pass item as structure
Pass the item to child controls inside of a composite instead of the row object. Thus, options are correctly passed to children. Fixes #1785.
This commit is contained in:
parent
c4cd36e15b
commit
385b6177b2
@ -27,7 +27,7 @@
|
|||||||
ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])"
|
ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])"
|
||||||
ng-pattern="ngPattern"
|
ng-pattern="ngPattern"
|
||||||
options="item.options"
|
options="item.options"
|
||||||
structure="row"
|
structure="item"
|
||||||
field="$index">
|
field="$index">
|
||||||
</mct-control>
|
</mct-control>
|
||||||
<span class="composite-control-label">
|
<span class="composite-control-label">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user