Adding a confirmation dialog to makeModalSubmitAction
Hi, I am trying to add a slideover modal form, where I have 2 submit actions, with different conditional logic. I currently have a wire:confirm on the submit action that I would like to move to a filament native confirmation, no matter what I tried I could not get it to work. Any help is appreciated.
3 Replies
I think you're missing the
requiresConfirmation()
part
Also, you might want the modalFooterActions()
method instead of extraModalFooterActions()
if you're overwritting everythingGitHub
Adding requiresConfirmation modal actions when using multiple makeM...
Package Form builder Package Version 3.3.4 How can we help you? I have modal slideover that is rendering a form, which has 2 submit actions, with different conditional logic. I currently have a wir...
Thanks for the response, can you give me an example of how i'd use replacing the mounted action here to use a filament native confirmation?
Appreciate the assistance!