fix: profile input auto-complete (#18)

This commit is contained in:
UUBulb
2024-12-02 20:57:19 +08:00
committed by GitHub
parent 22c53cf723
commit fc1dc1128b

View File

@@ -92,6 +92,7 @@ export const ProfileCard = ({ className }: { className: string }) => {
<FormLabel>{t("NewUsername")}</FormLabel> <FormLabel>{t("NewUsername")}</FormLabel>
<FormControl> <FormControl>
<Input <Input
autoComplete="username"
{...field} {...field}
/> />
</FormControl> </FormControl>
@@ -107,6 +108,7 @@ export const ProfileCard = ({ className }: { className: string }) => {
<FormLabel>{t("OriginalPassword")}</FormLabel> <FormLabel>{t("OriginalPassword")}</FormLabel>
<FormControl> <FormControl>
<Input <Input
autoComplete="current-password"
{...field} {...field}
/> />
</FormControl> </FormControl>