Wizard: Fix password placeholder
User password gets redacted from a blueprint, meaning if there was any password set, it does not render on import. Previously a placeholder was rendered as a value of password, making the value not editable. This renders the password indication as a placeholder text, solving the issue.
This commit is contained in:
parent
c9a13aede8
commit
18ab2ddb2e
1 changed files with 2 additions and 2 deletions
|
|
@ -54,10 +54,10 @@ export const PasswordValidatedInput = ({
|
|||
<TextInput
|
||||
isRequired
|
||||
type={isPasswordVisible ? 'text' : 'password'}
|
||||
value={hasPassword ? '•'.repeat(8) : value}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
aria-label={ariaLabel}
|
||||
placeholder={placeholder}
|
||||
placeholder={hasPassword ? '●'.repeat(8) : placeholder}
|
||||
/>
|
||||
</InputGroupItem>
|
||||
<InputGroupItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue