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
Mark Chaney
Mark Chaney3mo ago
hmm, dont think its possible. Might have to use a renderhook? though not sure how that works with actions
awcodes
awcodes3mo ago
I think you’d have to do a renderHook with a Lw component that implements actions and or forms traits / interfaces.
Mark Chaney
Mark Chaney3mo ago
That’s what I was afraid of. Not the end of the world. Have to style to match menu items then as well
awcodes
awcodes3mo ago
Might be possible to still use the blade components in your livewire component so you don’t have to style it manually.
Want results from more Discord servers?
Add your server
More Posts