F
Filament15mo ago
Soldges

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
toeknee15mo ago
Just use some css?
Soldges
SoldgesOP15mo ago
I thought about a "official" Filament way
toeknee
toeknee15mo ago
Not that I am aware
awcodes
awcodes15mo 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
SoldgesOP15mo ago
@awcodes thank you!
stanwarri
stanwarri15mo 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
SoldgesOP15mo ago
Worked for me
stanwarri
stanwarri15mo ago
What version of Filament are you using? Thanks for the input. Upgraded to the latest version and it worked
Want results from more Discord servers?
Add your server