You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've experienced two bug regarding selected menu items and pretty urls:
The dashboard menu item (added by yield MenuItem::linkToDashboard('Dashboard', 'fa fa-home');) is not selected, when active. Same issue when using yield MenuItem::linkToUrl('Dashboard', 'fa fa-home', '/'); to register the menu item. The index action in dashboard controller got the #[Route('/', name: 'dashboard')] attribute set.
When I'm in index action of any crud controller and append any querystring (e.g. ?filters or ?whatever) the first item in menu gets active (it doesn't matter if the first item is a dashboard or CRUD link).
To Reproduce
Tested with version 4.17.
(OPTIONAL) Additional context
The dashboard route has no routeCreatedByEasyAdmin attribute set.
The text was updated successfully, but these errors were encountered:
Describe the bug
I've experienced two bug regarding selected menu items and pretty urls:
yield MenuItem::linkToDashboard('Dashboard', 'fa fa-home');
) is not selected, when active. Same issue when usingyield MenuItem::linkToUrl('Dashboard', 'fa fa-home', '/');
to register the menu item. The index action in dashboard controller got the#[Route('/', name: 'dashboard')]
attribute set.?filters
or?whatever
) the first item in menu gets active (it doesn't matter if the first item is a dashboard or CRUD link).To Reproduce
Tested with version 4.17.
(OPTIONAL) Additional context
The
dashboard
route has norouteCreatedByEasyAdmin
attribute set.The text was updated successfully, but these errors were encountered: