Commit 3feed086 by Apple\Apple

feat(ui): add the attribute `mode="password"` to the password input on the…

 feat(ui): add the attribute `mode="password"` to the password input on the Setup page to enable password visibility toggle
parent d5a3b05b
......@@ -15,6 +15,7 @@
"其他登录选项": "Other login options",
"其他注册选项": "Other registration options",
"请输入您的用户名或邮箱地址": "Please enter your username or email address",
"请输入您的邮箱地址": "Please enter your email address",
"请输入您的密码": "Please enter your password",
"继续": "Continue",
"%d 点额度": "%d point quota",
......
......@@ -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 })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment