mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +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
|
|
@ -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)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue