-
Notifications
You must be signed in to change notification settings - Fork 42
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
Active item on menu items having route with any parameter #34
Comments
Try set $menu->route('page', 'Page 1', [1], [
'active' => function() {
return URL::full() == route('page', 1);
}
]); |
Hi @gravitano, Thanks for your response but i want return "active" state with any value of |
hi @dr-martin, @gravitano did one of you find a solution for this? I have the same issue |
@LonnyX Not yet, i changed this library for my purposes. |
It would be nice if you can share your purposes, it can help some poeple 👍 |
@LonnyX this problem is the most important limitation for me |
@dr-martin @LonnyX that's my solution
|
Can i configure a menu item with route as this:
'page_show/{id}'
The problem i have: The item not setting the "active" attribute
The text was updated successfully, but these errors were encountered: