Open agares29 opened 3 years ago
Did you try add .stop to submit event?
<form @submit.stop="submit">
Already try that, but did not work, also tried with
<form @submit.stop.prevent="submit">
<form @submit.prevent.stop="submit">
And changing the form for a v-form, but none of those worked :(
I want to show a confirm before submitting the form, but when I use the enter to make the submit, the confirm is getting auto accepted, I mean it shows the confirm but disappears automatically and I'm getting a true as response, here is an example of my code:
It works fine if I click the button, but working funny when I use the enter.