Issues

ZF-7125: Zend_Form_Element_Hidden without default decorator.

Issue Type: Improvement Created: 2009-06-25T09:53:10.000+0000 Last Updated: 2012-06-05T11:23:07.000+0000 Status: Closed Fix version(s): Reporter: Mathieu Delisle (m4d3l) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Form

Related issues: - ZF-2718

Attachments:

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.

<pre class="highlight"> 
public function init(){
    $this->setDisableLoadDefaultDecorators(true);
    $this->addDecorator("ViewHelper");
}

This will print

<pre class="highlight"> 

else of

<pre class="highlight">
 

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:

<pre class="highlight">


Foo
        

HTML error!

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts