Modal footer actions alignment
Hi there,
I am looking through the docs, but cant seem to figure it out. Is it possible to align action modal footer buttons to the right, instead of the left?
I know that I can do it in other parts by using
public function getFormActionsAlignment(): string|Alignment
{
return Alignment::End;
}
But I am not sure how to acomplist it in the modal action?3 Replies
Solution
->modalFooterActionsAlignment() iirc
This isn't working for me. I know this is in the source code somewhere and I could probably figure it out, but I've been digging and can't find it 🤷‍♂️
I'm using a modal in a livewire component, so I need to use a method in my class.
ok, I did find it in the source code, but this isn't working:
fyi, just used CSS and it works fine. I don't know why I ignore the tried and true stuff in favor of filament as if there's no other way to do it. lol
Without the full code it’s hard to say why it isn’t working, but based on what you have shared I don’t see why it wouldn’t.