Actions in table column view not triggering
Hi,
TLDR; Action in table
I've got a
In that view, I have an action to view more info. I've followed the docs here: https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#adding-the-action and my action appears on screen, but when I click it, nothing happens.
In my table:
In the
In my
I've spent a while debugging this but I'm at a loss as to why it's not working. Any help appreciated
Cheers
TLDR; Action in table
ViewColumn doesn't do anything when clickedI've got a
ManageRelatedRecords page - lets call it "Activity". On my activity page I have a table that displays rows of items that can be of different types. One of the columns is a ViewColumn and depending on the type, it shows different content in the view.In that view, I have an action to view more info. I've followed the docs here: https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component#adding-the-action and my action appears on screen, but when I click it, nothing happens.
In my table:
In the
ManageRelatedRecords page I have my actionIn my
activity-details view I haveI've spent a while debugging this but I'm at a loss as to why it's not working. Any help appreciated
Cheers
Solution
This might be stupid, but can you rename your action to
Action::make('viewMoreDetails') ?