https://htmx.org logo
Using the SweetAlert HTMX example on a form Im tr...
# 🔥-django-htmx
c
Using the SweetAlert HTMX example on a form Im trying to use hx-post hx-trigger=confirmed on the form and on the submit button
Copy code
_="on click
             call Swal.fire({title: 'Confirm', text:'Do you want to continue?'})
             if result.isConfirmed trigger confirmed">
But the Modal closes along with the sweetalert, so the confirmed is not fired. How would you stop the modal from closing, so the use can choose to confirm or deny the request?