EasyAdminBundle
EasyAdminBundle copied to clipboard
AssociationField -> renderAsEmbeddedForm() broken JS/CSS in CollectionField
Symfony 7.1.5 Easy admin 4.12
Describe the bug In AssociationField with use renderAsEmbeddedForm() has broken js/styles
inside WebSectionCrudController is CollectionField and this field is broken
inside WebSectionGalleryCrudCotnroller
and finally broken collection. Styles off, JS off, missing remove button. Adding new items works .
If i check HTML elements i can see missing classes "field-collection-item" and console log.error() because this classes not exist.
To Reproduce Use AssociationFiled with renderAsEmbeddedForm(). Inside make CollectionFiled and this collection is broken.