public function configureActions(Actions $actions): Actions
{
$actions = parent::configureActions($actions);
$actions->update(Crud::PAGE_DETAIL, Action::DELETE, static function(Action $action) {
return $action
->renderAsButton()
->asTextLink(false);
});
return $actions;
}
Describe the bug
To Reproduce
In a Controller try the following
Additional context
asTextLink(false)does nothingrenderAsButton()does not change the style