Zend Framework

Missing Description Decorator

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.5
  • Component/s: ZendX_JQuery
  • Labels:
    None

Description

Hi,

The default decorators for ZendX_Jquery form elements are:

$this->addDecorator('UiWidgetElement')
->addDecorator('Errors')
->addDecorator('HtmlTag', array('tag' => 'dd'))
->addDecorator('Label', array('tag' => 'dt'));

But should be actually:

$this->addDecorator('UiWidgetElement')
->addDecorator('Errors')
->addDecorator('Description')
->addDecorator('HtmlTag', array('tag' => 'dd'))
->addDecorator('Label', array('tag' => 'dt'));

So to make the elements defaults compatible with Zend_Form_Element's...

Activity

Hide
Benjamin Eberlei added a comment -

Resolved in trunk, merged back into 1.9 release branch.

Show
Benjamin Eberlei added a comment - Resolved in trunk, merged back into 1.9 release branch.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: