F
Filament2mo 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
dyoOP2mo ago
can somone help me?
Want results from more Discord servers?
Add your server