mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-09 00:04:16 +00:00
Add autocomplete to more input fields (#9232)
GitOrigin-RevId: 54c0c185abdf157e76fb8248c0341ff21e580cfb
This commit is contained in:
parent
f6d6f01f78
commit
d9a1c1e521
3 changed files with 6 additions and 0 deletions
|
@ -200,6 +200,7 @@ function PasswordFormGroup({
|
|||
id={id}
|
||||
type="password"
|
||||
placeholder="*********"
|
||||
autoComplete="new-password"
|
||||
value={value}
|
||||
data-ol-dirty={!!validationMessage}
|
||||
onChange={handleChangeAndValidity}
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -39,6 +39,7 @@ block content
|
|||
type='email',
|
||||
name='email',
|
||||
placeholder="email@example.com",
|
||||
autocomplete="username"
|
||||
value=email
|
||||
required,
|
||||
disabled
|
||||
|
|
Loading…
Reference in a new issue