Closed nevez closed 2 months ago
It's a bug : #6082
Not fixed since december ?
Interestingly, nothing has changed in the behavior of the sidebar menu in my use case.
The respective entity (l.companies) is, however, assigned to a higher-level menu node (l.crm):
Regardless of whether in the INDEX, DETAIL, NEW or EDIT page, no (parent) menu node (l.crm) is opened or highlighted.
e.g.
/admin?crudAction=index&crudControllerFqcn=App%5CController%5CBackend%5CEasyadmin%5CCrud%5CCrm%5CCompanyCrudController
The same applies to my user-defined routes
e.g.
/admin?routeName=backend_app_filemanager
I would be interested in the experience of other developers. Maybe someone can point me in the right direction Happy easy admin!
When in the main menu I put a submenu and I put a CRUD link in it, it stays open while on the INDEX page of the CRUD, but closes automatically as soon as I modify or create a new entity.
If this is the intended behaviour, it would be nice if the menu state was at least configurable by providing a ->setExpanded(true/false) method on the submenu item itself. This way the user has a way to override the default behaviour.
Thank you