You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However it appears impossible to achieve this using the bootstrap 4 templates (symfony/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig) even with splitting the checkboxes in the form. For example:
This PR was merged into the 3.4 branch.
Discussion
----------
[TwigBridge] Pass the form-check-inline in parent
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass? | no
| Fixed tickets | #25099 <!-- #-prefixed issue number(s), if any -->
| License | MIT
| Doc PR | none
I'm trying to find a way to be able to handle this. Will add a reproducer soon.
Commits
-------
02b7edb [TwigBridge][WIP] Pass the form-check-inline in parent
According to the bootstrap documentation an inline list of checkboxes should be rendered as follows
However it appears impossible to achieve this using the bootstrap 4 templates (
symfony/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig
) even with splitting the checkboxes in the form. For example:Result:
Adding the required
form-check-inline
to the div, fixes the issue. However then there is no way to not have them be inline.The text was updated successfully, but these errors were encountered: