Any solution? Same thing here... After confirm the dialog nothing happens.
This is some of my User class:
publicfunctionconfirmDelete($id){$this->emit("swal:confirm",['type'=>'warning','title'=>'Tem certeza?','text'=>"Você não poderá reverter isso!",'confirmText'=>'Sim, desativar!','method'=>'usuario:delete','params'=>$id,// optional, send params to success confirmation'callback'=>'',// optional, fire event if no confirmed]);}publicfunctiondelete($id){if($id){User::find($id)->delete();$this->emit('swal:alert',['type'=>'success','title'=>"Usuário desativado com sucesso!",'timeout'=>3000,]);}}
I try to
protected $listeners = ['confirm' => 'syncFromDC'];
but nothing happen after click Oke.image
dev-to-uploads.s3.amazonaws.com/i/...
Any solution? Same thing here... After confirm the dialog nothing happens.
This is some of my User class:
Works for me now that I have declared the $listeners in my Usuario class: