Browse Source

Merge pull request #6249 from DarkPhoenix2704/fix/form

Autocomplete Email Login & Signup
pull/6277/head
աɨռɢӄաօռɢ 1 year ago committed by GitHub
parent
commit
f352f1818c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/nc-gui/pages/signin.vue
  2. 3
      packages/nc-gui/pages/signup/[[token]].vue

3
packages/nc-gui/pages/signin.vue

@ -104,6 +104,8 @@ function resetError() {
<a-form-item :label="$t('labels.email')" name="email" :rules="formRules.email">
<a-input
v-model:value="form.email"
type="email"
autocomplete="email"
data-testid="nc-form-signin__email"
size="large"
:placeholder="$t('msg.info.signUp.workEmail')"
@ -114,6 +116,7 @@ function resetError() {
<a-form-item :label="$t('labels.password')" name="password" :rules="formRules.password">
<a-input-password
v-model:value="form.password"
autocomplete="current-password"
data-testid="nc-form-signin__password"
size="large"
class="password"

3
packages/nc-gui/pages/signup/[[token]].vue

@ -149,6 +149,8 @@ function resetError() {
<a-form-item :label="$t('labels.email')" name="email" :rules="formRules.email">
<a-input
v-model:value="form.email"
autocomplete="email"
type="email"
size="large"
:placeholder="$t('msg.info.signUp.workEmail')"
@focus="resetError"
@ -158,6 +160,7 @@ function resetError() {
<a-form-item :label="$t('labels.password')" name="password" :rules="formRules.password">
<a-input-password
v-model:value="form.password"
autocomplete="new-password"
size="large"
class="password"
:placeholder="$t('msg.info.signUp.enterPassword')"

Loading…
Cancel
Save