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!
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!
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'....
So for my function orderToInvoiceAction i needed the make() method to be 'orderToInvoice'....