EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

New items of a CollectionField are added at the wrong place in the markup

Open NicoHaase opened this issue 3 years ago • 0 comments

Describe the bug While working on a way to make items of a CollectionField sortable, I noticed that newly added items are not added to the markup at the proper position.

I would expect to see them within the div that holds the data-empty-collection attribute, as the last item, but they are added right behind that div

Bildschirmfoto von 2022-08-16 13-21-58

To Reproduce Add a CrudController for an entity with a OneToMany relation, and make that relation editable through a CollectionField

NicoHaase avatar Aug 16 '22 11:08 NicoHaase