ZF-7125: Zend_Form_Element_Hidden without default decorator.
Description
I dont think Hidden element must have default decorator set. This is intensional or it's a forgot?
Adding this code in the Zend_Form_Element_Hidden class prevent this.
public function init(){
$this->setDisableLoadDefaultDecorators(true);
$this->addDecorator("ViewHelper");
}
This will print
else of
Comments
Posted by Marc (maxhb) on 2009-10-21T04:11:56.000+0000
This bug is also included in V 1.9.4.
+1 by reading and testing
Posted by Frank Brückner (frosch) on 2012-05-25T16:15:48.000+0000
This is very bad idea:
FooHTML error!