Feature Request
Adding a parent element, or at least wrapping it in a single block, made it easier to work with forms in complex rendering, without passing at a time. Usage practice can be dynamically assembled elements, the volume of which would not be small; It would also make it possible to write less code in the phtml file.
| Q |
A |
| New Feature |
yes |
| RFC |
no |
| BC Break |
no |
Summary
laminas-form/src/View/Helper/FormRow::render method
Implementation options: wrap_template option
- request a template for
sprintf
- request a callable function as an argument already pass
markup
- request an array of options with attributes and element tag (although in this case only one element will be generated)
Feature Request
Adding a parent element, or at least wrapping it in a single block, made it easier to work with forms in complex rendering, without passing at a time. Usage practice can be dynamically assembled elements, the volume of which would not be small; It would also make it possible to write less code in the
phtmlfile.Summary
laminas-form/src/View/Helper/FormRow::rendermethodImplementation options:
wrap_templateoptionsprintfmarkup