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>
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'....
Was this page helpful?