Issues

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

This bug is also included in V 1.9.4.

+1 by reading and testing

This is very bad idea:


    
Foo

HTML error!