Open a second require confirmation modal from the first require confirmation modal

Hi, I'm in Filament v3. In a resource I have an Action defined as a require confirmation. In the action method applied to the Action, I do some operations that have to be done at the confirm. After the confirm and the operations in the action method, I want to open a second modal, like a thankyou modal. To do this, I opted to create another Action with require confirmation and then defined all my stuff in that modal. My problem is, how can I open the second modal after the user confirm the first modal and my action operations are done? I can't found a real useful solution on the internet.
2 Replies
Tosgat
TosgatOP4w ago
This implies that I have created a livewire component, but that is not the case. It's more like this https://filamentphp.com/docs/3.x/actions/modals#opening-another-modal-from-an-extra-footer-action but using extra modal footer actions is not working because the first action operations are not executed. This is due to the fact that the confirmation button event of the first modal is not triggered.
Want results from more Discord servers?
Add your server