Filament Table ToggleColumn not updating record or triggering beforeStateUpdated()
Hi everyone,
I’m trying to update a record using a ToggleColumn (I also tried CheckboxColumn, same issue).
The toggle shows up fine, but when I click it, nothing updates in the database.
Here’s how I implemented it:
The toggle displays correctly and shows the proper initial state, but clicking it doesn’t trigger the update or change anything in the database.
Am I missing something? How can I make this column actually update the record when toggled?
1 Reply
Is it running the code in
beforeStateUpdated()?