© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
gladjanus43

Livewire custom actions

Hi, I have a custom page based on the kanban plugin of Mokosh. I am trying to add quick actions to the cards of the kanban board and would like to use the default filament actions.

The problem is that I have one action per card working, but when I try to add the second one it does not register the action. I have posted the code for the actions below. Is there some restriction or am I doing something wrong? Help would be appreciated!

<div class="hidden group-hover:flex group-hover:w-5 group-hover:h-5 mt-5 cursor-pointer z-10">
                {{$this->orderToInvoiceAction}}
            </div>
            <div
                class=" hidden group-hover:flex group-hover:w-5 group-hover:h-5 mt-5 z-10 cursor-pointer
                        ">
                {{($this->archiveAction)(['order' => $record->id])}}
            </div>
<div class="hidden group-hover:flex group-hover:w-5 group-hover:h-5 mt-5 cursor-pointer z-10">
                {{$this->orderToInvoiceAction}}
            </div>
            <div
                class=" hidden group-hover:flex group-hover:w-5 group-hover:h-5 mt-5 z-10 cursor-pointer
                        ">
                {{($this->archiveAction)(['order' => $record->id])}}
            </div>
Solution
Okay found it! Your action name should be the same as the function you are writing.
So for my function orderToInvoiceAction i needed the make() method to be 'orderToInvoice'....
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Livewire custom component - Livewire Sortable
FilamentFFilament / ❓┊help
3y ago
Livewire custom page
FilamentFFilament / ❓┊help
3y ago
Actions on loop on livewire
FilamentFFilament / ❓┊help
14mo ago
Table actions / alpine / livewire UI
FilamentFFilament / ❓┊help
2y ago