ZF2-518: Binding objects to collections of the form
Description
$this->add(
array(
'type' => 'Zend\Form\Element\Collection',
'name' => 'addresses',
'options' => array(
'count' => 2,
'should_create_template' => true,
'allow_add' => true,
'target_element' => array (
'type' => 'Admin\Form\AddressFieldset',
),
),
)
);
How to bind the values to the elements of the fieldset when using the collections to the fieldset address[0]['street1'], address[0]['street2'] .... kindly Let me know how can be this achieved
Comments
Posted by Frank Brückner (frosch) on 2012-09-04T10:04:52.000+0000
Code tags added.
Posted by Frank Brückner (frosch) on 2012-09-04T10:06:48.000+0000
@~krishna@dioxe.com] Is this a question or a bug report? For questions please use the [mailing lists.
Posted by krishna m (krishna@dioxe.com) on 2012-09-04T10:28:25.000+0000
I hope its a bug
Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:43.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2553