[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:
Pete Richards 2017-10-20 17:19:11 -07:00
parent c4cd36e15b
commit 385b6177b2

View File

@ -27,7 +27,7 @@
ng-required="ngRequired || compositeCtrl.isNonEmpty(ngModel[field])"
ng-pattern="ngPattern"
options="item.options"
structure="row"
structure="item"
field="$index">
</mct-control>
<span class="composite-control-label">