Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
🔍 New in Filament Blueprint: security audits! Scan your app for security misconfigurations with a plan to fix each one.
use Filament\Tables\Columns\ToggleColumn;
ToggleColumn::make('is_admin')
ToggleColumn::make()
->beforeStateUpdated(function ($record, $state) {
// Runs before the state is saved to the database.
})
->afterStateUpdated(function ($record, $state) {
// Runs after the state is saved to the database.
})