Issues

ZF2-344: Form's FormElementErrors view helper doesn't accept attributes

Issue Type: Bug Created: 2012-06-06T16:24:42.000+0000 Last Updated: 2012-08-07T18:09:46.000+0000 Status: Closed Fix version(s): Reporter: Roman Vidyayev (cmple) Assignee: Chris Martin (cgmartin) Tags: - Zend\Form

  • Form
  • FormElementErrors

Related issues: Attachments:

Description

Zend\Form\View\Helper\FormElementErrors doesn't accept attributes;

public function render(ElementInterface $element, array $attributes = array()) { ...

public function __invoke(ElementInterface $element) { return $this->render($element); }

Comments

Posted by Chris Martin (cgmartin) on 2012-07-06T04:26:35.000+0000

The FormElementErrors now accepts attributes, which get applied to the "$messageOpenFormat" property:

https://github.com/zendframework/zf2/…

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