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.OP14mo ago
bump :)
awcodes
awcodes14mo 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.OP14mo ago
Oh check, awesome
Want results from more Discord servers?
Add your server