add autocomplete to input element

This commit is contained in:
MaysWind
2020-12-05 00:29:34 +08:00
parent 9ac9f16a04
commit 2691f7f025
4 changed files with 18 additions and 0 deletions
+3
View File
@@ -4,6 +4,7 @@
<f7-list form>
<f7-list-input
type="text"
autocomplete="username"
clear-button
:label="$t('Username')"
:placeholder="$t('Your username or email')"
@@ -12,6 +13,7 @@
></f7-list-input>
<f7-list-input
type="password"
autocomplete="current-password"
clear-button
:label="$t('Password')"
:placeholder="$t('Your password')"
@@ -64,6 +66,7 @@
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="number"
autocomplete="one-time-code"
outline
clear-button
v-if="twoFAVerifyType === 'passcode'"
+6
View File
@@ -13,6 +13,7 @@
<f7-list form>
<f7-list-input
type="text"
autocomplete="username"
clear-button
:label="$t('Username')"
:placeholder="$t('Your username')"
@@ -22,6 +23,7 @@
<f7-list-input
type="password"
autocomplete="new-password"
clear-button
:label="$t('Password')"
:placeholder="$t('Your password, at least 6 characters')"
@@ -31,6 +33,7 @@
<f7-list-input
type="password"
autocomplete="new-password"
clear-button
:label="$t('Confirmation Password')"
:placeholder="$t('Re-enter the password')"
@@ -40,6 +43,7 @@
<f7-list-input
type="email"
autocomplete="email"
clear-button
:label="$t('E-mail')"
:placeholder="$t('Your email address')"
@@ -49,6 +53,7 @@
<f7-list-input
type="text"
autocomplete="nickname"
clear-button
:label="$t('Nickname')"
:placeholder="$t('Your nickname')"
@@ -58,6 +63,7 @@
<f7-list-input
type="select"
autocomplete="transaction-currency"
:label="$t('Default Currency')"
:value="user.defaultCurrency"
@input="user.defaultCurrency = $event.target.value"
+3
View File
@@ -48,6 +48,7 @@
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="number"
autocomplete="one-time-code"
outline
clear-button
:placeholder="$t('Passcode')"
@@ -76,6 +77,7 @@
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
autocomplete="current-password"
outline
clear-button
:placeholder="$t('Password')"
@@ -104,6 +106,7 @@
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
autocomplete="current-password"
outline
clear-button
:placeholder="$t('Password')"
+6
View File
@@ -25,6 +25,7 @@
<f7-list form>
<f7-list-input
type="password"
autocomplete="new-password"
clear-button
:label="$t('Password')"
:placeholder="$t('Your password')"
@@ -34,6 +35,7 @@
<f7-list-input
type="password"
autocomplete="new-password"
clear-button
:label="$t('Confirmation Password')"
:placeholder="$t('Re-enter the password')"
@@ -43,6 +45,7 @@
<f7-list-input
type="email"
autocomplete="email"
clear-button
:label="$t('E-mail')"
:placeholder="$t('Your email address')"
@@ -52,6 +55,7 @@
<f7-list-input
type="text"
autocomplete="nickname"
clear-button
:label="$t('Nickname')"
:placeholder="$t('Your nickname')"
@@ -61,6 +65,7 @@
<f7-list-input
type="select"
autocomplete="transaction-currency"
:label="$t('Default Currency')"
:value="newProfile.defaultCurrency"
@input="newProfile.defaultCurrency = $event.target.value"
@@ -88,6 +93,7 @@
<f7-list form no-hairlines class="no-margin-top margin-bottom">
<f7-list-input
type="password"
autocomplete="current-password"
outline
clear-button
:placeholder="$t('Password')"