add autocomplete for emails as well (#407)
Some checks failed
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled

This commit is contained in:
CactusBlue 2025-01-28 18:37:40 -08:00 committed by GitHub
parent d591a24129
commit 1ad4173e2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 2 deletions

View File

@ -318,7 +318,7 @@ function TestSendingDialog(props: {
}}
render={(form) => (
<>
<InputField label="Email" name="email" control={form.control} type="email" required/>
<InputField label="Email" name="email" control={form.control} type="email" autoComplete="email" required/>
{error && <Alert variant="destructive">{error}</Alert>}
</>
)}

View File

@ -47,6 +47,7 @@ export function ForgotPasswordForm({ onSent }: { onSent?: () => void }) {
<Input
id="email"
type="email"
autoComplete="email"
{...register('email')}
onChange={() => clearErrors('email')}
/>

View File

@ -52,6 +52,7 @@ export function CredentialSignIn() {
<Input
id="email"
type="email"
autoComplete="email"
{...register('email')}
/>
<FormWarningText text={errors.email?.message?.toString()} />

View File

@ -62,7 +62,7 @@ export function CredentialSignUp(props: { noPasswordRepeat?: boolean }) {
noValidate
>
<Label htmlFor="email" className="mb-1">{t('Email')}</Label>
<Input id="email" type="email" {...register('email')}/>
<Input id="email" type="email" autoComplete="email" {...register('email')}/>
<FormWarningText text={errors.email?.message?.toString()} />
<Label htmlFor="password" className="mt-4 mb-1">{t('Password')}</Label>

View File

@ -123,6 +123,7 @@ export function MagicLinkSignIn() {
<Input
id="email"
type="email"
autoComplete="email"
{...register('email')}
/>
<FormWarningText text={errors.email?.message?.toString()} />