You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Sweetalert with a Vue modal. When I click Submit on the modal form, the alert pops up. That works fine.
However, if I accidentally click where the modal submit button was (you cannot see it because the Sweetalert window is open), it will submit the modal form twice. It only occurs if I click too soon. Not sure if it's because the Sweetalert window hasn't fully loaded? I'm a bit click-happy.
Any ideas on how to prevent this issue? I tried to add this to my modal: @submit.once, but then I can't click "ok" on the Sweetalert window.
The text was updated successfully, but these errors were encountered:
I am using Sweetalert with a Vue modal. When I click Submit on the modal form, the alert pops up. That works fine.
However, if I accidentally click where the modal submit button was (you cannot see it because the Sweetalert window is open), it will submit the modal form twice. It only occurs if I click too soon. Not sure if it's because the Sweetalert window hasn't fully loaded? I'm a bit click-happy.
Any ideas on how to prevent this issue? I tried to add this to my modal: @submit.once, but then I can't click "ok" on the Sweetalert window.
The text was updated successfully, but these errors were encountered: