Skip to content

NVR with realtime local object detection for IP cameras

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

Luca Paolini2a8b62acb19d
diff --git a/web/src/components/auth/AuthForm.tsx b/web/src/components/auth/AuthForm.tsx
index dcf8eaa558..12e8f777ed 100644
--- a/web/src/components/auth/AuthForm.tsx
+++ b/web/src/components/auth/AuthForm.tsx
@@ -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>