F
Filament7d ago
dyo

isTableRecordSelectable is not working

I want to hide bulk select in certain records with the following conditions, but when it met, the bulk checkbox is still exist, what did I miss?
public function isTableRecordSelectable(): ?Closure
{
return fn(Model $record): bool => !in_array($record->status_konf, ['Sukses', 'success', 'Paid']);
}
public function isTableRecordSelectable(): ?Closure
{
return fn(Model $record): bool => !in_array($record->status_konf, ['Sukses', 'success', 'Paid']);
}
1 Reply
dyo
dyo7d ago
can somone help me?
Want results from more Discord servers?
Add your server