How to align modal buttons similar to alignFormActionsEnd()

use Filament\Pages\Page;
use Filament\Support\View\Components\Modal;

Page::alignFormActionsEnd();

Modal::closeButton(false);
Modal::closedByClickingAway(false);
// Modal::alignFormActionsEnd(); Does this exist?
use Filament\Pages\Page;
use Filament\Support\View\Components\Modal;

Page::alignFormActionsEnd();

Modal::closeButton(false);
Modal::closedByClickingAway(false);
// Modal::alignFormActionsEnd(); Does this exist?
3 Replies
Proculair B.V.
Proculair B.V.OP16mo ago
bump :)
awcodes
awcodes16mo ago
You'd have to set it on the actions class.
Actions\Action::configureUsing(function (Actions\Action $action): void {
$action->modalFooterActionsAlignment(Alignment::End);
});
Actions\Action::configureUsing(function (Actions\Action $action): void {
$action->modalFooterActionsAlignment(Alignment::End);
});
it's specific to the action not the modal
Proculair B.V.
Proculair B.V.OP16mo ago
Oh check, awesome

Did you find this page helpful?