ZF-8290: Zend_Form_Element_File default description decorator

Issue Type: Bug Created: 2009-11-11T07:46:21.000+0000 Last Updated: 2009-11-11T12:37:31.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Martin Winkel (storeman) Assignee: Thomas Weidner (thomas) Tags: - Zend_Form

Related issues: Attachments:


The default description decorator differs from the description decorator of other form elements.

Because of this, the default decorator class is added ('hint') while elements use the default css class 'description'. Making styling more complex than necessary.

Current: Zend/Form/Element/File.php:86

<pre class="highlight">

Should be: Zend/Form/Element/File.php:86

<pre class="highlight">
->addDecorator('Description', array('tag' => 'p', 'class' => 'description'))

Default element: Zend/Form/Element.php:290


Posted by Thomas Weidner (thomas) on 2009-11-11T12:37:31.000+0000

Fixed with r18944

Have you found an issue?

See the Overview section for more details.


© 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.