We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Let's have a form with custom renderer:
$form->setRenderer(new CustomFormRenderer());
and this latte template:
{form customForm} {label name /} {input name} {/form}
Than CustomFormRenderer is not applied while rendering label and input.
Here is a quick workaround:
{form customForm} {var $label = $form->renderer->renderLabel($form[name])} {$label} {var $control = $form->renderer->renderControl($form[name])} {$control} {/form}
Something like this should be generated automatically.
The text was updated successfully, but these errors were encountered:
This is intentional behavior.
Sorry, something went wrong.
You can call $form->renderer->renderPair($form[name])
$form->renderer->renderPair($form[name])
No branches or pull requests
Let's have a form with custom renderer:
and this latte template:
Than CustomFormRenderer is not applied while rendering label and input.
Here is a quick workaround:
Something like this should be generated automatically.
The text was updated successfully, but these errors were encountered: