mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-19 02:04:55 +08:00
Update 05-actions.md
This commit is contained in:
@@ -137,8 +137,9 @@ You may conditionally disable bulk actions for a specific record:
|
||||
```php
|
||||
public function isTableRecordSelectable(): ?Closure
|
||||
{
|
||||
return fn (Model $record): bool => $record->id === StatusEnum::Enabled;
|
||||
return fn (Model $record): bool => $record->status === Status::Enabled;
|
||||
}
|
||||
```
|
||||
|
||||
## Setting a size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user