diff --git a/components/Contact.vue b/components/Contact.vue index a708045..d062093 100644 --- a/components/Contact.vue +++ b/components/Contact.vue @@ -7,6 +7,7 @@ method="POST" data-netlify="true" data-netlify-honeypot="bot-field" + @submit.prevent="handleSubmit" >
@@ -21,6 +22,8 @@ class="appearance-none block w-full bg-gray-100 placeholder-gray-700 text-gray-700 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white" id="grid-first-name" type="text" + name="fullname" + v-model="form.fullname" placeholder="Jane Doe" />
@@ -35,6 +38,8 @@ class="appearance-none block w-full bg-gray-100 placeholder-gray-700 text-gray-700 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white" id="grid-email" type="text" + name="email" + v-model="form.email" placeholder="janedoe@example.com" /> @@ -43,6 +48,8 @@