mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 23:32:40 +02:00
fix: add autoComplete attributes to form inputs for better UX
- Add autoComplete="username" and "current-password" to login form - Add autoComplete="email" and "new-password" to register form inputs - Add autoComplete="name" to profile display name input - Add autoComplete="off" to connector search input - Enables browser password managers and autofill functionality
This commit is contained in:
parent
4066cbc6f0
commit
36391acfd0
4 changed files with 7 additions and 0 deletions
|
|
@ -238,6 +238,7 @@ export default function RegisterPage() {
|
|||
<input
|
||||
id="email"
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
required
|
||||
placeholder="you@example.com"
|
||||
value={email}
|
||||
|
|
@ -261,6 +262,7 @@ export default function RegisterPage() {
|
|||
<input
|
||||
id="password"
|
||||
type="password"
|
||||
autoComplete="new-password"
|
||||
required
|
||||
placeholder="Enter your password"
|
||||
value={password}
|
||||
|
|
@ -284,6 +286,7 @@ export default function RegisterPage() {
|
|||
<input
|
||||
id="confirmPassword"
|
||||
type="password"
|
||||
autoComplete="new-password"
|
||||
required
|
||||
placeholder="Confirm your password"
|
||||
value={confirmPassword}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue