May 04, 2010, 1:17 PM
RE: [1.0] Revoke deprecation of MultiField
Hi,
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); ">I had 2 buttons inside a MultiField (with no Field). MultiField accepted them perfectly, but CompositeField is throwing errors.
The solution was simply to move them to a Panel from MultiField.
CompositeField 'items' collection contains fields only. If you need original items (which were passed with config object) then you need to use
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-weight: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); ">I had 2 buttons inside a MultiField (with no Field). MultiField accepted them perfectly, but CompositeField is throwing errors.
The solution was simply to move them to a Panel from MultiField.
CompositeField 'items' collection contains fields only. If you need original items (which were passed with config object) then you need to use
compositeField.innerCt.items