Posts by Lucasrd2k • 11 points
2 posts
-
0
votes1
answer19
viewsA: I am using Sweet alert2 to display a form pucked with ajax, I need a way to close when Save, Cancel or X is clicked
I was able to find in the documentation of sweetAlert2 the command used to close the popup (Swal.close()). Complementing, to solve the problem I added in the buttons that should close the popup the…
-
0
votes1
answer19
viewsQ: I am using Sweet alert2 to display a form pucked with ajax, I need a way to close when Save, Cancel or X is clicked
The main goal here is to display the form inside the popup, so that if the user clicks cancel or the x above the popup disappears, the library used is sweetAlert2 (https://sweetalert2.github.io/)…