Issues

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

Fixed with r18944