Issues

ZF-8129: Missing Description Decorator

Issue Type: Bug Created: 2009-10-23T00:48:14.000+0000 Last Updated: 2009-10-23T12:18:05.000+0000 Status: Resolved Fix version(s): - 1.9.5 (27/Oct/09)

Reporter: Cristian Bichis (avantis) Assignee: Benjamin Eberlei (beberlei) Tags: - ZendX_JQuery

Related issues: Attachments:

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

Comments

Posted by Benjamin Eberlei (beberlei) on 2009-10-23T12:17:55.000+0000

Resolved in trunk, merged back into 1.9 release branch.

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