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

Symfony 4 form_theme overwrite #251

Open
JohJohan opened this issue Oct 14, 2020 · 0 comments
Open

Symfony 4 form_theme overwrite #251

JohJohan opened this issue Oct 14, 2020 · 0 comments

Comments

@JohJohan
Copy link

When i overwrite the template using @EWZRecaptcha/Form/ewz_recaptcha_widget.html.twig it will not overwrite the template in Symfony 4.

And when i overwrite the template by creating custom form theme it will not work because array_merge https://github.com/excelwebzone/EWZRecaptchaBundle/blob/master/src/DependencyInjection/EWZRecaptchaExtension.php#L62 will always load the template from the bundle widget as last.

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

No branches or pull requests

1 participant