[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:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user