ZF-2519: Label decorators should use id attribute if available

Issue Type: Bug Created: 2008-01-29T15:27:12.000+0000 Last Updated: 2008-03-21T16:25:15.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


The Label decorator currently passes an element's name to the FormLabel view helper. However, it should use the element's id attribute, if present, and only use the name as a safe default.


Posted by Matthew Weier O'Phinney (matthew) on 2008-01-30T15:24:00.000+0000

Resolved with r7705.

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.