Table row action not working
Good morning, I have a filament table on a custom livewire page in which I want to put a row action. So I did just that according to the documentation. But when I click the action in the table it shows a short loading icon and then does nothing. What does work is if I put ->url('someurl')->openUrlInNewTab(). So it definitely triggers the action, but it doesn't reach the ->action() method for some reason.
I have a feeling it might have to do with that the results are based on a query and not a model. But I'm not sure. So any help would be appreciated.
The table query:
The action:
4 Replies
Have you found the solution? I have the same problem.
Did you put
<x-filament-actions::modals />
in blade file?Modals are working. The issue seems to be with the model is missing.
I've check it just now and it seems to be working normally, the issues may be your query only. My codes: