© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
7 replies
gcardinal

Default button alignment for Repeater action

Currently default behaviour is to center a button, this can be overrided with ->addActionAlignment(Alignment::Start), however it bloats the code. Is there anyway to set a default position? Or override / extend / hack class to do so?

This also looks strange since Forms submit button is placed on the left.
Solution
You could set a default via ServiceProvider I suppose. Something like:

Repeater::configureUsing(function (Repeater $repeater) {
    return $repeater
        ->addActionAlignment(Alignment::Start)
});
Repeater::configureUsing(function (Repeater $repeater) {
    return $repeater
        ->addActionAlignment(Alignment::Start)
});
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

form action button alignment
FilamentFFilament / ❓┊help
8mo ago
repeater action
FilamentFFilament / ❓┊help
4mo ago
How to use toggle button as action button in repeater
FilamentFFilament / ❓┊help
10mo ago
How to change this action button of repeater?
FilamentFFilament / ❓┊help
16mo ago