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
the 'second-level-li' will appear twice in li tag, for example: <li class="second-level-li second-level-li">
2 - When I add atribute attr() to each link when create menu, for example:
$menu->add(trans($link->name), ['url' => $link->link])
->prepend($link->prepend)
->append($link->append)
->nickname($link->nickname)
->data('order', $link->dis_order)
->link->attr(['class' => $link->class]);
active status of links which have no sub menu items cannot be active anymore because there is no 'active' css class in tag.
The text was updated successfully, but these errors were encountered:
Is there any solution for this situation? Thank you.
This is not presently actively maintained. We can review lightweight PRs, but I don't have time to dig into the code to figure out why it is behaving the way that you describe.
Hi there, I met 2 issues when using your package. I hope you can help
1 - When I use the below method:
{!! $menu->asUl( ['class' => 'first-level-ul'], ['class' => 'second-level-ul'], ['class' => 'second-level-li'] ) !!}
the 'second-level-li' will appear twice in li tag, for example:
<li class="second-level-li second-level-li">
2 - When I add atribute attr() to each link when create menu, for example:
$menu->add(trans($link->name), ['url' => $link->link])
->prepend($link->prepend)
->append($link->append)
->nickname($link->nickname)
->data('order', $link->dis_order)
->link->attr(['class' => $link->class]);
active status of links which have no sub menu items cannot be active anymore because there is no 'active' css class in tag.
The text was updated successfully, but these errors were encountered: