Skip to content

Commit

Permalink
Merge 3eebb8b into ec918d9
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandort committed Aug 7, 2024
2 parents ec918d9 + 3eebb8b commit 9581fa7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clients/admin-ui/src/features/common/form/inputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ export const CustomTextInput = ({
isRequired = false,
inputRightElement,
size,
autoComplete,
...props
}: CustomInputProps & StringField) => {
const [initialField, meta] = useField(props);
Expand All @@ -561,6 +562,7 @@ export const CustomTextInput = ({
const innerInput = (
<TextInput
{...field}
autoComplete={autoComplete}
isDisabled={disabled}
data-testid={`input-${field.name}`}
placeholder={placeholder}
Expand Down
3 changes: 3 additions & 0 deletions clients/admin-ui/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ const Login: NextPage = () => {
<CustomTextInput
name="password"
label={isFromInvite ? "Set new password" : "Password"}
autoComplete={
isFromInvite ? "new-password" : "current-password"
}
type="password"
variant="stacked"
size="md"
Expand Down

0 comments on commit 9581fa7

Please sign in to comment.