fix: correct autocomplete attributes to enable password manager autofill
This commit is contained in:
@@ -44,7 +44,7 @@ export function LoginForm() {
|
||||
name="username"
|
||||
rules={{ required: formatMessage(labels.required) }}
|
||||
>
|
||||
<TextField autoComplete="off" />
|
||||
<TextField autoComplete="username" />
|
||||
</FormField>
|
||||
<FormField
|
||||
label={formatMessage(labels.password)}
|
||||
@@ -52,7 +52,7 @@ export function LoginForm() {
|
||||
name="password"
|
||||
rules={{ required: formatMessage(labels.required) }}
|
||||
>
|
||||
<PasswordField />
|
||||
<PasswordField autoComplete="current-password" />
|
||||
</FormField>
|
||||
<FormButtons>
|
||||
<FormSubmitButton
|
||||
|
||||
Reference in New Issue
Block a user