Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IFormField::getFieldHtml() #3085

Closed
Gravatronics opened this issue Oct 5, 2019 · 0 comments
Closed

Add IFormField::getFieldHtml() #3085

Gravatronics opened this issue Oct 5, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@Gravatronics
Copy link
Contributor

IFormField::getHtml() returns the form field with its surrounding structure (dl + children). To support more specializes form field containers, just having a method that return all required HTML code for the form field (including JS-Code) without the surrounding structure is required.

This new method will be IFormField::getFieldHtml(). The (new) template used by IFormField::getHtml() can than simply call {@$field->getFieldHtml()}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants