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!
Solution:Jump to 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'.......
2 Replies
This is how I implemented the actions in the livewire component. But as you can see in the video it does not dd any value when clicked. But it is rendered. The tooltip is shown and the icon applied...
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'....