mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
fix(ui): repeated autofocus cloudreve/Cloudreve#2285 (#249)
This commit is contained in:
parent
bcf06d6dfa
commit
9a41ebc845
|
|
@ -167,12 +167,11 @@ const SignUp = () => {
|
|||
onChange={(e) => setEmail(e.target.value)}
|
||||
icon={<MailOutlined />}
|
||||
value={email}
|
||||
autoFocus
|
||||
autoFocus={true}
|
||||
/>
|
||||
</FormControl>
|
||||
<FormControl variant="standard" margin="normal" required fullWidth>
|
||||
<OutlineIconTextField
|
||||
autoFocus={true}
|
||||
variant={"outlined"}
|
||||
label={t("login.password")}
|
||||
inputProps={{
|
||||
|
|
@ -190,13 +189,12 @@ const SignUp = () => {
|
|||
</FormControl>
|
||||
<FormControl variant="standard" margin="normal" required fullWidth>
|
||||
<OutlineIconTextField
|
||||
autoFocus={true}
|
||||
variant={"outlined"}
|
||||
label={t("login.repeatPassword")}
|
||||
inputProps={{
|
||||
name: "password",
|
||||
name: "repeatPassword",
|
||||
type: "password",
|
||||
id: "password",
|
||||
id: "repeatPassword",
|
||||
required: "true",
|
||||
minLength: 6,
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue