✨ 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:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user