Halt modal action

->modalFooterActions([
Action::make('TakePayment')
    ->form([
       
            ]),
    ])

->modalFooterActions([
Action::make('Process Payment')
->action(function () {                          
    
    if ($result['success'] == true) {
        
    } else {
        
    }
})
->form([    
    Placeholder::make('Payment Status')
        ->content(function () {
            return "sucess";
        })
        ->inlineLabel(),
    

])->modalFooterActions([

]),
]),  Action::make('Cancel')
->cancelParentActions('Purchase Workshop modal')



  • here i want to halt the process or u can say action until it completed
    then move to next step
  • is there a way i can do that
Was this page helpful?