mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
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
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:
parent
d591a24129
commit
1ad4173e2a
@ -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>}
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -47,6 +47,7 @@ export function ForgotPasswordForm({ onSent }: { onSent?: () => void }) {
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
{...register('email')}
|
||||
onChange={() => clearErrors('email')}
|
||||
/>
|
||||
|
||||
@ -52,6 +52,7 @@ export function CredentialSignIn() {
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
{...register('email')}
|
||||
/>
|
||||
<FormWarningText text={errors.email?.message?.toString()} />
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -123,6 +123,7 @@ export function MagicLinkSignIn() {
|
||||
<Input
|
||||
id="email"
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
{...register('email')}
|
||||
/>
|
||||
<FormWarningText text={errors.email?.message?.toString()} />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user