mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-02-01 22:47:40 +00:00
chore(form): add autocomplete attributes to a few fields
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
required
|
||||
type="email"
|
||||
:error="emailValid ? null : $t('user.auth.emailInvalid')"
|
||||
autocomplete="email"
|
||||
@keyup.enter="submit"
|
||||
@focusout="validateEmail(); validateEmailAfterFirst = true"
|
||||
@keyup="validateEmailAfterFirst && validateEmail()"
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
:placeholder="$t('user.auth.emailPlaceholder')"
|
||||
required
|
||||
type="email"
|
||||
autocomplete="email"
|
||||
/>
|
||||
|
||||
<div class="is-flex">
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
:label="$t('user.settings.updateEmailNew')"
|
||||
:placeholder="$t('user.auth.emailPlaceholder')"
|
||||
type="email"
|
||||
autocomplete="email"
|
||||
@keyup.enter="updateEmail"
|
||||
/>
|
||||
<FormField
|
||||
@@ -18,6 +19,7 @@
|
||||
:label="$t('user.settings.currentPassword')"
|
||||
:placeholder="$t('user.settings.currentPasswordPlaceholder')"
|
||||
type="password"
|
||||
autocomplete="password"
|
||||
@keyup.enter="updateEmail"
|
||||
/>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user