userMenuItems Action?
I want to add an Action to the user menu in the panel builder so that it launches a modal. Seems like MenuItem is just for urls(). Any suggestions? Also, while were on it, can we also adjust the positioning of the theme-switcher. Seem to be in the middle of the user menu items.
4 Replies
hmm, dont think its possible. Might have to use a renderhook? though not sure how that works with actions
I think you’d have to do a renderHook with a Lw component that implements actions and or forms traits / interfaces.
That’s what I was afraid of. Not the end of the world. Have to style to match menu items then as well
Might be possible to still use the blade components in your livewire component so you don’t have to style it manually.