Add autocomplete to more input fields (#9232)

GitOrigin-RevId: 54c0c185abdf157e76fb8248c0341ff21e580cfb
This commit is contained in:
Alf Eaton 2022-08-18 09:36:46 +01:00 committed by Copybot
parent f6d6f01f78
commit d9a1c1e521
3 changed files with 6 additions and 0 deletions

View file

@ -200,6 +200,7 @@ function PasswordFormGroup({
id={id}
type="password"
placeholder="*********"
autoComplete="new-password"
value={value}
data-ol-dirty={!!validationMessage}
onChange={handleChangeAndValidity}

View file

@ -70,6 +70,7 @@ block content
type='email',
name='email',
placeholder="email@example.com"
autocomplete="username"
required,
autofocus="true"
)
@ -79,6 +80,7 @@ block content
type='password',
name='password',
placeholder="********",
autocomplete="new-password"
required,
)
.actions
@ -109,6 +111,7 @@ block content
type='email',
name='email',
placeholder="email@example.com"
autocomplete="username"
required,
autofocus="true"
)
@ -140,6 +143,7 @@ block content
type='email',
name='email',
placeholder="email@example.com"
autocomplete="username"
required,
autofocus="true"
)

View file

@ -39,6 +39,7 @@ block content
type='email',
name='email',
placeholder="email@example.com",
autocomplete="username"
value=email
required,
disabled