Buttons on the right side

Is it possible to move the buttons to the right side? I think it looks much better together with aside(). https://imgsh.net/a/xYjzzeG.png Would like to have it on the right side instead of left. This is a normale Resource no custom page
8 Replies
toeknee
toeknee2y ago
Just use some css?
Soldges
SoldgesOP2y ago
I thought about a "official" Filament way
toeknee
toeknee2y ago
Not that I am aware
awcodes
awcodes2y ago
make sure you're on the latest Filament version and you can add this to you Edit and Create classes:
use Filament\Support\Enums\Alignment;

public static string | Alignment $formActionsAlignment = Alignment::Right;
use Filament\Support\Enums\Alignment;

public static string | Alignment $formActionsAlignment = Alignment::Right;
Soldges
SoldgesOP2y ago
@awcodes thank you!
stanwarri
stanwarri2y ago
Tried this but I'm getting an must be string (as in class Filament\Pages\BasePage) error. Did this work for you @soldges
Soldges
SoldgesOP2y ago
Worked for me
stanwarri
stanwarri2y ago
What version of Filament are you using? Thanks for the input. Upgraded to the latest version and it worked

Did you find this page helpful?