-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Hi. Is there a way to make the top of the submenu a link as well? I don't see any parameters to make the top of the menu a link in that in $Iterm->dropdown(). Is there a way to add it after the submenu has been created? I need to be able to make that a link as well, but I don't see that as an option.
For example, here, "About" is not clickable and I don't see a way to make it a link to another page:
$menu->dropdown('About', function ($sub) {
$sub->add([
'route' => ['things', []],
'title' => 'Things',
'attributes' => [
'name' => 'things'
]
]);
$sub->add([
'route' => ['contact', []],
'title' => 'Contact Us',
'attributes' => [
'name' => 'contact'
]
]);
},);
Metadata
Metadata
Assignees
Labels
No labels