Skip to content

Commit

Permalink
fix: signup autocomplete fields (#2414)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored Jul 22, 2024
1 parent ffd23e6 commit 2a18592
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion webapp/src/component/security/SignUp/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ export const SignUpForm = (props: Props) => {
>
<StyledInputFields>
<Error loadable={props.loadable} />
<TextField name="email" label={<T keyName="sign_up_form_email" />} />
<TextField
name="email"
label={<T keyName="sign_up_form_email" />}
autoComplete="email"
/>
<PasswordFieldWithValidation
label={<PasswordLabel />}
inputProps={{ type: showPassword ? 'text' : 'password' }}
Expand Down Expand Up @@ -150,17 +154,20 @@ export const SignUpForm = (props: Props) => {
}}
/>
<TextField
autoComplete="name"
name="name"
label={<T keyName="sign_up_form_full_name" />}
/>
{orgRequired && (
<TextField
autoComplete="organization"
name="organizationName"
label={<T keyName="sign_up_form_organization_name" />}
/>
)}
{userSourceField && (
<TextField
autoComplete="off"
name="userSource"
label={<T keyName="sign_up_form_user_source" />}
/>
Expand Down

0 comments on commit 2a18592

Please sign in to comment.