Hide close button in filament form

Is it possible to hide "Close" button in filament form?
No description
Solution:
You could chuck this in the create page: ```php protected function getCancelFormAction(): Action { return parent::getCancelFormAction()->visible(false);...
Jump to solution
3 Replies
toeknee
toeknee2mo ago
Yes That looks like a Create page opposed to a custom form. So in that scenario you want to hide the page action
Solution
toeknee
toeknee2mo ago
You could chuck this in the create page:
protected function getCancelFormAction(): Action
{
return parent::getCancelFormAction()->visible(false);
}
protected function getCancelFormAction(): Action
{
return parent::getCancelFormAction()->visible(false);
}
dzoniia
dzoniia2mo ago
Thanks, that's exactly what I was looking for
Want results from more Discord servers?
Add your server