ZF-11225: Make escaping label optional in FormErrors form decorator

Issue Type: Improvement Created: 2011-03-25T16:06:36.000+0000 Last Updated: 2012-06-02T02:10:11.000+0000 Status: Resolved Fix version(s): - 1.12.0 (27/Aug/12)

Reporter: Peter Gašparík (payter) Assignee: Frank Brückner (frosch) Tags: - Zend_Form

  • FixForZF1.12
  • zf-crteam-review

Related issues: Attachments: - FormErrors.php.patch


it will be really nice to have this property available to set in decorators in form

something like it is in element decorators, where i can have array('Label', array('tag' => 'th', 'escape' => false)),

and it will be look somehow like here array('formErrors', array('placement' => 'PREPEND','escape' => false))

now its in Zend_Form_Decorator_FormErrors on line 422 set hardcoded, thanks


Posted by Frank Brückner (frosch) on 2012-05-11T15:42:30.000+0000

Patch and unit tests added.

Posted by Adam Lundrigan (adamlundrigan) on 2012-06-02T02:10:11.000+0000

Fixed in trunk (1.12.0): r24869

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.