feat(ui): add the attribute mode="password" to the password input on the Setup page to enable password visibility toggle

This commit is contained in:
Apple\Apple
2025-06-04 08:50:38 +08:00
parent 9693df9bf3
commit d39c9cbec6
2 changed files with 3 additions and 0 deletions

View File

@@ -349,6 +349,7 @@ const Setup = () => {
size='large'
className="mb-4 !rounded-lg"
noLabel={false}
mode="password"
validateStatus="default"
onChange={(value) =>
setFormData({ ...formData, password: value })
@@ -364,6 +365,7 @@ const Setup = () => {
size='large'
className="!rounded-lg"
noLabel={false}
mode="password"
validateStatus="default"
onChange={(value) =>
setFormData({ ...formData, confirmPassword: value })