EasyAdminBundle
EasyAdminBundle copied to clipboard
New items of a CollectionField are added at the wrong place in the markup
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

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