Strategic
Tables\Actions\DeleteAction::make() before or after method How to access record value inside?
I am trying to build validation before deleting the record from the table .. How do I access the record values inside the before function? Any help please.. thank you!
Tables\Actions\DeleteAction::make()
->before(function () { // $deleted_record = $this->record ???
}
5 replies