chore(form): add autocomplete attributes to a few fields
This commit is contained in:
parent
a8f10a6e15
commit
4f9681bde8
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue