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:Jump to solution
You could set a default via ServiceProvider I suppose. Something like:
```php
Repeater::configureUsing(function (Repeater $repeater) {
return $repeater...
4 Replies

How does it bloat the code? But you can just use a custom theme, and do it with css.
You can also do it globally with configureUsing() in a service provider so you don’t have to apply it on each instance.
Solution
You could set a default via ServiceProvider I suppose. Something like:
Thank you! Worked perfectly.