ZF-12348: Dynamicly add elements with belongsTo
Description
Trying to dynamicly add elements to form
$form = new Application_Form_Foo();
$form->addElement('text', 'foo', array(
'belongsTo' => 'params',
));
$form->addElement('file', 'bar', array(
'belongsTo' => 'params',
));
and render form in view script:
echo $this->form;
In HTML text element has correct name -
But file element has incorrect name -
Comments
Posted by Frank Brückner (frosch) on 2012-07-27T11:10:22.000+0000
Patch and unit tests added.
Posted by Frank Brückner (frosch) on 2012-07-30T15:41:22.000+0000
Another patch added.
Posted by Frank Brückner (frosch) on 2012-07-31T08:41:01.000+0000
This issue is still in progress. More tests needed!
Posted by Frank Brückner (frosch) on 2012-11-09T11:21:18.000+0000
This issue needs a review from CR-Team, because I think all changes ends in a BC break.