Skip to content

Commit 27d2ab5

Browse files
committed
fix: fix email input
1 parent 751f960 commit 27d2ab5

File tree

3 files changed

+2836
-143
lines changed

3 files changed

+2836
-143
lines changed

custom/ResetPassword.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
<label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">{{$t('Your email')}}</label>
114114
<Input type="email" name="email" id="email"
115115
@keydown.enter="reset()"
116-
ref="emailInput"
116+
v-model="emailInput"
117117
class="w-full"
118118
placeholder="[email protected]"
119119
required
@@ -234,7 +234,7 @@ onMounted(async () => {
234234
235235
async function reset() {
236236
error.value = null;
237-
const email = emailInput.value.value;
237+
const email = emailInput.value;
238238
if (!email) {
239239
error.value = 'Please enter your email';
240240
return;

0 commit comments

Comments
 (0)