Delete Action

How to achieve this, that the information will show what name is being deleted? Ive search the source code and it seems that there's nothing special on the Actions\DeleteAction::make(),
Im replicating it in my project but it just shows the resource name, not the name of the data being deleted.
image.png
Solution
Ohh just need to put this

protected static ?string $recordTitleAttribute = 'name';
Was this page helpful?