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:
parent
b9c12d1bbb
commit
5ccc6622d9
1 changed files with 2 additions and 10 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue