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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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