ZF-8290: Zend_Form_Element_File default description decorator
Description
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
->addDecorator('Description')
Should be: Zend/Form/Element/File.php:86
->addDecorator('Description', array('tag' => 'p', 'class' => 'description'))
Default element: Zend/Form/Element.php:290
Comments
Posted by Thomas Weidner (thomas) on 2009-11-11T12:37:31.000+0000
Fixed with r18944