ZF2-180: displayGroup->AddElemet() and then its rendered twice

Issue Type: Bug Created: 2012-02-25T19:54:16.000+0000 Last Updated: 2012-05-29T19:31:18.000+0000 Status: Resolved Fix version(s): Reporter: Angel K (po_taka) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Form

Related issues: Attachments:


when adding element like $this->addDisplayGroup( array ('el1', 'el2' ) ) it does: unset($this->_order[$element]); Elements are rendered only from $form => displayGroup->render()

but when adding elements $this->getDisplayGroup('dgBottom')->addElements(array($el, $el2)); $el & $el2 are still in $this->_order[] and they are rendered as form elements *and* as elements from displayGroup


Posted by Matthew Weier O'Phinney (matthew) on 2012-05-29T19:31:18.000+0000

DisplayGroups are no longer a part of the forms API starting with beta4 (forms were re-written).

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.