Wizard: Remove strength indicator

This completely removes strength indicator as it includes the same information as the second Azure password helper text.
This commit is contained in:
regexowl 2025-03-27 13:33:50 +01:00 committed by Klara Simickova
parent b9c12d1bbb
commit 5ccc6622d9

View file

@ -34,7 +34,7 @@ export const PasswordValidatedInput = ({
const environments = useAppSelector(selectImageTypes);
const [isPasswordVisible, setIsPasswordVisible] = useState(false);
const { validationState, strength } = checkPasswordValidity(
const { validationState } = checkPasswordValidity(
value,
environments.includes('azure')
);
@ -44,16 +44,8 @@ export const PasswordValidatedInput = ({
setIsPasswordVisible(!isPasswordVisible);
};
const passStrLabel = (
<HelperText>
<HelperTextItem variant={strength.variant} icon={strength.icon}>
{strength.text}
</HelperTextItem>
</HelperText>
);
return (
<FormGroup label="Password" isRequired labelInfo={passStrLabel}>
<FormGroup label="Password" isRequired>
<>
<InputGroup>
<InputGroupItem isFill>