fix(db): make to allow to show/hide the password when only creating (#20186)

This commit is contained in:
smileydev 2022-05-25 22:18:17 -05:00 committed by GitHub
parent ac4158e903
commit 95b28fc134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export const passwordField = ({
id="password"
name="password"
required={required}
type={isEditMode && 'password'}
visibilityToggle={!isEditMode}
value={db?.parameters?.password}
validationMethods={{ onBlur: getValidation }}
errorMessage={validationErrors?.password}