Disable autoCorrect, autoCapitalize and spellCheck on username input. (#18333)

This commit is contained in:
Luca Paolini
2025-05-21 13:10:13 +02:00
committed by GitHub
parent 37d40558b7
commit 2a8b62acb1

View File

@@ -99,6 +99,9 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
<Input <Input
className="text-md w-full border border-input bg-background p-2 hover:bg-accent hover:text-accent-foreground dark:[color-scheme:dark]" className="text-md w-full border border-input bg-background p-2 hover:bg-accent hover:text-accent-foreground dark:[color-scheme:dark]"
autoFocus autoFocus
autoCapitalize="off"
autoCorrect="off"
spellCheck="false"
{...field} {...field}
/> />
</FormControl> </FormControl>