© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
HumbleJuL

Method Filament\Tables\Columns\ToggleColumn::afterStateUpdated does not exist.

I need to make an action when i toggle and i saw the hook in the documentation but it didn't work and I don't know why.
Here is my code :
ToggleColumn::make('is_online')
->afterStateUpdated(function ($record, $state) {
    $this->togglePublish($record);
}),
ToggleColumn::make('is_online')
->afterStateUpdated(function ($record, $state) {
    $this->togglePublish($record);
}),
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Method Filament\Tables\Columns\TextColumn::isHeaderWrapped does not exist.
FilamentFFilament / ❓┊help
7mo ago
Method Filament\Tables\Table::extremePaginationLinks does not exist.
FilamentFFilament / ❓┊help
2y ago
Method Filament\Tables\Actions\Action::getColumns does not exist.
FilamentFFilament / ❓┊help
3y ago
Method Filament\Tables\Actions\Action::deactivateAction does not exist.
FilamentFFilament / ❓┊help
3y ago