Skip to content

Commit d39c9cb

Browse files
author
Apple\Apple
committed
✨ feat(ui): add the attribute mode="password" to the password input on the Setup page to enable password visibility toggle
1 parent 9693df9 commit d39c9cb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

web/src/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"其他登录选项": "Other login options",
1616
"其他注册选项": "Other registration options",
1717
"请输入您的用户名或邮箱地址": "Please enter your username or email address",
18+
"请输入您的邮箱地址": "Please enter your email address",
1819
"请输入您的密码": "Please enter your password",
1920
"继续": "Continue",
2021
"%d 点额度": "%d point quota",

web/src/pages/Setup/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ const Setup = () => {
349349
size='large'
350350
className="mb-4 !rounded-lg"
351351
noLabel={false}
352+
mode="password"
352353
validateStatus="default"
353354
onChange={(value) =>
354355
setFormData({ ...formData, password: value })
@@ -364,6 +365,7 @@ const Setup = () => {
364365
size='large'
365366
className="!rounded-lg"
366367
noLabel={false}
368+
mode="password"
367369
validateStatus="default"
368370
onChange={(value) =>
369371
setFormData({ ...formData, confirmPassword: value })

0 commit comments

Comments
 (0)