Inertia before event #1252
Unanswered
segungreat
asked this question in
Help
Replies: 1 comment
-
up up up |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello .
Am trying to use inertia:before event to confirm delete action. Am using sweetalert to confirm instead of using window.confirm
The main issue is window.confirm is synchronous and before is able to wait and get confirm true or false.
But am unable to get it work with sweet alert. Have tried using async/await but not working.
Can anyone give me a hint or idea on how to make it work. I don't want to use the browser confirm method.
Beta Was this translation helpful? Give feedback.
All reactions