mirror of
https://github.com/OpenListTeam/OpenList-Frontend.git
synced 2026-03-15 03:20:25 +00:00
feat(password): add auto focus on password (#159)
* feat: add auto focus on password * refactor(Password): use native autofocus prop --------- Co-authored-by: MadDogOwner <xiaoran@xrgzs.top>
This commit is contained in:
@@ -34,6 +34,7 @@ const Password = (props: PasswordProps) => {
|
||||
>
|
||||
<Heading>{props.title}</Heading>
|
||||
<Input
|
||||
autofocus={true}
|
||||
type="password"
|
||||
value={props.password()}
|
||||
background={useColorModeValue("$neutral3", "$neutral2")()}
|
||||
|
||||
Reference in New Issue
Block a user