0 votes
in VueJS by
<form @submit.prevent=”validateSubmit”>…</form>

What does @submit.prevent do?

select the correct option from below

a)Invokes the validateSubmit method before the usual submit action is executed.

b)Irrespective of the method definition in validateSubmit, default submit action will be executed.

1 Answer

0 votes
by

a)Invokes the validateSubmit method before the usual submit action is executed.

Related questions

+1 vote
asked Feb 6, 2023 in VueJS by john ganales
+1 vote
asked Feb 3, 2023 in VueJS by john ganales
+1 vote
asked Feb 3, 2023 in VueJS by john ganales
0 votes
asked Jul 7, 2022 in VueJS by sharadyadav1986
...