sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

Fix loading new item list after adding new created element on sortable collections #8202

Open BA-JBI opened 3 months ago

BA-JBI commented 3 months ago

Subject

This Pull request closes two issues related to sortable collections as described in #8201

I am targeting this branch, because this patches an existing issue.

Closes #8201

Changelog

### Fixed
- Assert new created items on sortable collections are added in javascript correctly after creation in modal
- Avoid clearing selections when loading new choice list after reating a new model in sortable collections