Merge pull request #1167 from SohamBhattacharjee2003/fix/add-autocomplete-attributes

Fix/add autocomplete attributes
This commit is contained in:
Rohan Verma 2026-04-07 23:36:56 -07:00 committed by GitHub
commit 35c155387b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View file

@ -156,6 +156,7 @@ export function LocalLoginForm() {
<input
id="email"
type="email"
autoComplete="username"
required
placeholder="you@example.com"
value={username}
@ -177,6 +178,7 @@ export function LocalLoginForm() {
<input
id="password"
type={showPassword ? "text" : "password"}
autoComplete="current-password"
required
placeholder="Enter your password"
value={password}

View file

@ -235,6 +235,7 @@ export default function RegisterPage() {
<input
id="email"
type="email"
autoComplete="email"
required
placeholder="you@example.com"
value={email}
@ -255,6 +256,7 @@ export default function RegisterPage() {
<input
id="password"
type="password"
autoComplete="new-password"
required
placeholder="Enter your password"
value={password}
@ -278,6 +280,7 @@ export default function RegisterPage() {
<input
id="confirmPassword"
type="password"
autoComplete="new-password"
required
placeholder="Confirm your password"
value={confirmPassword}

View file

@ -93,6 +93,7 @@ export function ProfileContent() {
<Input
id="display-name"
type="text"
autoComplete="name"
placeholder={user?.email?.split("@")[0]}
value={displayName}
onChange={(e) => setDisplayName(e.target.value)}

View file

@ -66,6 +66,7 @@ export const ConnectorDialogHeader: FC<ConnectorDialogHeaderProps> = ({
<Search className="absolute left-3 top-1/2 -translate-y-1/2 size-4 text-gray-500 dark:text-gray-500" />
<input
type="text"
autoComplete="off"
placeholder="Search"
className={cn(
"w-full bg-slate-400/5 dark:bg-white/5 hover:bg-slate-400/10 dark:hover:bg-white/10 focus:bg-slate-400/10 dark:focus:bg-white/10 border border-border rounded-xl pl-9 py-2 text-sm transition-all outline-none placeholder:text-muted-foreground/50",