Why modalFooterActions can not register an third action
I would like to have three buttons on mine slide over how i can make it? i look but it does not render mine three buttons just two what i should do so i can make it i have three buttons
8 Replies
they should be
Tables\Actions\Action
actionsi did it but is there an option that this action createAnother does not close the modal
I think you should create a new action if you need a custom action
do you maybe how i can validate inside an action function
do you have any ideas how to solve these
would you like to add an action to "save and keep editing" ?
are you using a simple resource with modals, right?
yes i just want to validate and save
i am using slideOver
hum.. I think you could achieve this using
makeModalSubmitAction
(https://filamentphp.com/docs/3.x/actions/modals#adding-an-extra-modal-action-button-to-the-footer). However, you would need to override the action
method of EditAction, and I’m not sure if that’s a good idea because there are some processes involved.