FilamentF
Filament3y ago
adam

Unable to read form values in Table Actions

I have a form that updates a data table. I'd like to create actions based on a form selection.

The actions seem to load data out of order from the life cycle.

I'm getting the values from the form correctly but using hydrate, updating, or updated to make a DB call is always one step behind what's displayed in the table.

I used Ray to dump the contents of my actions and I can see the correct data.

When getTableActions is called, the component properties are all at their default values of null or empty arrays.
image.png
Was this page helpful?