Closed shadmanshaikh closed 2 weeks ago
Read this doc item. There are two ways to activate menu:
active attribute does work for x-menu-sub , if i use for x-menu-item it show's the sub menu item by default its active , I just to open a dropdown and when clicked it should go to the link and should not close the dropdown
If you are using it on Dropdowns see this
https://mary-ui.com/docs/components/dropdown#click-propagation
I'm using <x-menu-sub>
this is my original code :
`
<x-menu-item title="Task Assigned" icon="o-clipboard-document-check" link="task-assigned" /> </x-menu-sub> </x-menu>`
Please, read carefully the Menu docs, about the correct usage of the link="..."
.
href
or wire:navigate
maryUI version
1.26
daisyUI version
4.10.1
Livewire version
3.4
What browsers are affected?
Chrome
What happened?
In app.blade
I have sub-menu and its sub-menu-item , when I click on the sub-menu it closes instead of being in the same state
this is a standard code used by me from the MaryUI docs: `
`