📣 New official plugin released: Custom Dashboards! Create data-driven dashboards using a drag and drop UI.
use Filament\Tables\Columns\CheckboxColumn;
CheckboxColumn::make('is_admin')
CheckboxColumn::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.
})