Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submenu won't show it parent element has route with parameters #2940

Open
erimeilis opened this issue Jan 23, 2025 · 0 comments
Open

Submenu won't show it parent element has route with parameters #2940

erimeilis opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels

Comments

@erimeilis
Copy link

Describe the bug
If we have parameters in route, that neight on this route with parameters, no without we won't see child menu

To Reproduce
Steps to reproduce the behavior:

Menu::make('Test Param')
                ->slug('basket-dids-manual')
                ->list([
                    Menu::make('Test')
                        ->route('platform.test.list'),
                ])
                ->route('platform.test-param.list', '?type=1'),

Expected behavior
An "active" class should add to menu element by route core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants