zendframework / zend-form

Form component from Zend Framework
BSD 3-Clause "New" or "Revised" License
69 stars 87 forks source link

Documentation is missing for additional HTML attributes on form view helpers #202

Closed froschdesign closed 6 years ago

froschdesign commented 6 years ago

Version 2.12.0 of zend-form introduces two new methods for view helpers:

$helper->addValidAttribute('attribute-name');
$helper->addValidAttributePrefix('prefix-');

These new methods should be added to the documentation with some code examples.

See also:

weierophinney commented 6 years ago

Beg to differ: these are in the matrix of available methods, as I added them when merging that pull request:

What we don't have are code examples. That said, we do not have code examples for most of the methods in the abstract helper.