Move Header Actions to Footer

Is there a way I can move the header actions of edit resource page to footer? I want to swap the positions of save/cancel with the header actions.
5 Replies
Kiran Timsina
Kiran TimsinaOP3mo ago
Tried this. I could move the save/cancel to top but couldn’t find header actions there
toeknee
toeknee3mo ago
Just add them manually to the footer actions?
Kiran Timsina
Kiran TimsinaOP3mo ago
There’s footer actions ? @toeknee
toeknee
toeknee3mo ago
Well you would replace the getFormActions so
protected function getFormActions(): array
{
return array_merge(
parent::getFormActions(),
[
Actions\DeleteAction::make(),
]
);
}
protected function getFormActions(): array
{
return array_merge(
parent::getFormActions(),
[
Actions\DeleteAction::make(),
]
);
}
on the EditRecord page And then put whatever into the headerActions 🙂
Want results from more Discord servers?
Add your server