How to modify delete action notification message
I would like to notify the user what record he is about to delete before he press Confirm.. So the message would read Delete "AAAA" branch ... where "AAA" is a column branch_name from the table or editor .. is there are a way.. thank you!
Solution:Jump to solution
Found how to :
Tables\Actions\DeleteAction::make()
->modalHeading(fn ($record) =>'Do you want to delete '.$record->your_column_name)...
1 Reply
Solution
Found how to :
Tables\Actions\DeleteAction::make()
->modalHeading(fn ($record) =>'Do you want to delete '.$record->your_column_name)