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} id={id}
type="password" type="password"
placeholder="*********" placeholder="*********"
autoComplete="new-password"
value={value} value={value}
data-ol-dirty={!!validationMessage} data-ol-dirty={!!validationMessage}
onChange={handleChangeAndValidity} onChange={handleChangeAndValidity}

View file

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

View file

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