Skip to content

Commit

Permalink
fix(db): make to allow to show/hide the password when only creating (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 authored May 26, 2022
1 parent ac4158e commit 95b28fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 95b28fc

Please sign in to comment.