Skip to content
Discussion options

You must be logged in to vote

Hi,

just use ->extraModalFooterActions([ YourAction1, YourAction2 ]). I usually disable the regular SubmitAction with ->modalSubmitAction(false) when i need more Options.

To Align all Actions equally use ->modalFooterActionsAlignment(Alignment::Center), You can also disable the CancelAction with ->modalCancelAction(false).

There is no need to create views for something like that. But there are three more options. If You need more space, because You have a lot of buttons add

->infolist([
    Actions([
        YourAction1,
        YourAction2,
    ])
])

or when You need a describing Text

->infolist([
    TextEntry::make('YourActionText1')
        ->action(YourAction1::make())
])

or when Y…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@bvicini
Comment options

@Lisfe00
Comment options

@bvicini
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bvicini
Comment options

@abrahamputraprakasa
Comment options

Answer selected by bvicini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants