symfony-collection
symfony-collection copied to clipboard
Issue with Bootstrap 4 form themes
Hi there,
I upgraded to Symfony 3.4 today which includes support for the new version of bootstrap 4 form themes as shown here: https://symfony.com/blog/new-in-symfony-3-4-bootstrap-4-form-theme
So I upgraded my assets to bootstrap 4 and the form-collection was still working fine. However, when I updated in my config for it to use bootstrap 4 form themes as explained in the link above, none of the form collections work correctly anymore. Some of my forms had limits on which no longer work and you can not change the order or remove forms from the collection.
Will support be added for this soon?
Thanks
Sure, thank you for your report, will have a look this week end. Alain
Hi there,
I spent almost 10 hours on this plugin today to fix #98, I'm going to move to other projects.
Will check your issue within the 2 next weeks.
Please, have a look to elements_selector
and elements_parent_selector
options ; if the new bootstrap form theme has another markup (like more nested divs etc), it could explain why nothing works anymore.
If you find the solution, please share it ;)
Have a good weekend,
Alain
@DBarkz did you come up with a solution for bootstrap 4 ?
@ninsuo for bootstrap 4
elements_selector: '> fieldset'
Thank you very much for sharing. A
@jayesbe Thanks. Got the same error and that solve it.