There was an error while loading. Please reload this page.
1 parent 0271c5c commit 5732955Copy full SHA for 5732955
src/components/HelloWorld.vue
@@ -11,8 +11,6 @@ const data = reactive({
11
message: ''
12
})
13
14
-const elFeedbackForm = ref(null)
15
-
16
const encode = data => {
17
return Object.keys(data)
18
.map(key => `${encodeURIComponent(key)}=${encodeURIComponent(data[key])}`)
@@ -36,12 +34,7 @@ const submitForm = () => {
36
34
<template>
37
35
<h1>Vue 3 + Netlify Forms</h1>
38
39
- <form
40
- class="feedback-form"
41
- name="feedback"
42
- ref="elFeedbackForm"
43
- @submit.prevent
44
- >
+ <form class="feedback-form" name="feedback" @submit.prevent>
45
<input type="hidden" name="form-name" value="feedback" />
46
47
<div class="input-wrapper">
0 commit comments