Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/components/auth/forms/sign-up-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ export function SignUpForm({

<FormControl>
<Input
autoComplete="name"
className={classNames?.input}
placeholder={
localization.NAME_PLACEHOLDER
Expand Down Expand Up @@ -539,6 +540,7 @@ export function SignUpForm({

<FormControl>
<Input
autoComplete="username"
className={classNames?.input}
placeholder={
localization.USERNAME_PLACEHOLDER
Expand Down Expand Up @@ -566,6 +568,7 @@ export function SignUpForm({

<FormControl>
<Input
autoComplete="email"
className={classNames?.input}
type="email"
placeholder={localization.EMAIL_PLACEHOLDER}
Expand Down Expand Up @@ -695,6 +698,8 @@ export function SignUpForm({
{additionalField.type ===
"number" ? (
<Input

autoComplete={field}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can put dynamic fields into autoComplete here since they could be invalid options for this prop.

className={
classNames?.input
}
Expand Down Expand Up @@ -732,6 +737,8 @@ export function SignUpForm({
/>
) : (
<Input

autoComplete={field}
className={
classNames?.input
}
Expand Down