F
Filamentβ€’16mo ago
Nils Domin

Forms: How can I align the save/cancel buttons if my section layout is "aside"?

No description
5 Replies
LeandroFerreira
LeandroFerreiraβ€’16mo ago
//EditPage.php or CreatePage.php
public static string $formActionsAlignment = 'end';
//EditPage.php or CreatePage.php
public static string $formActionsAlignment = 'end';
Nils Domin
Nils DominOPβ€’16mo ago
Great thank you! πŸ˜ƒ I must have overlooked that in the documentation. πŸ™ˆ
krekas
krekasβ€’16mo ago
you haven't. it's not documented as I can see
Nils Domin
Nils DominOPβ€’16mo ago
Okay, thanks πŸ˜‰
MedoLaravel
MedoLaravelβ€’15mo ago
Instead of repeating this line of code on every page ... how to set it globally? I got it
public function panel(Panel $panel): Panel
{
return $panel
->bootUsing(function () {
Page::formActionsAlignment('end');
})
}
public function panel(Panel $panel): Panel
{
return $panel
->bootUsing(function () {
Page::formActionsAlignment('end');
})
}
Want results from more Discord servers?
Add your server