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

Fix issue with missing form row classes #12

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

koertho
Copy link

@koertho koertho commented Dec 30, 2023

This PR fix the issue that there are no form row classes outputted in frontend.

The source of this issue is the implementation of the widget-templates in twig. The extend-function works different here and do not use the widget-class for the $this variables in the extended php templates anymore.

This PR introduces an additional variable for the prefix with the correct variable name as used in the form row template. The better option would be the usage of html5-templates, since twig is obviously not correctly supported for widgets at this time, but that would mean a BC break. Another option would be not extending the form_row template. If you prefer my other options or find a different solution, don't hesitate to close this PR :)

@christianbarkowsky christianbarkowsky merged commit 6ee345a into plenta:2.0 Feb 20, 2024
@christianbarkowsky christianbarkowsky added this to the 2.0.1 milestone Feb 20, 2024
@christianbarkowsky
Copy link
Member

tHx @koertho

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

Successfully merging this pull request may close these issues.

2 participants