How to edit delete bulk action

Hi is it possible when it is selected one record that in mine modalDescription write delete this use with name... and when is selected more to write do you wan to delete this users
Solution
You can adjust the modal description via ->modalDescription(). Like

->modalDescription(fn ($records) => 'Delete this users: '.$users->pluck('name')->join(', '))
Was this page helpful?