mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-04 11:25:52 +08:00
a11y(signup-page): autofocus first input element (email) (#343)
This commit is contained in:
parent
73e3e061e0
commit
e46ff48b80
@ -83,6 +83,7 @@ const Signup = ({ globalLoading, loggedIn }: SignupProps): JSX.Element => {
|
||||
<Input
|
||||
placeholder="mike@netflix.com"
|
||||
type="email"
|
||||
autoFocus
|
||||
value={formState.email.value}
|
||||
onChange={(e): void => updateForm('email', e.target)}
|
||||
required
|
||||
@ -94,7 +95,6 @@ const Signup = ({ globalLoading, loggedIn }: SignupProps): JSX.Element => {
|
||||
<label htmlFor="signupFirstName">First Name</label>
|
||||
<Input
|
||||
placeholder="Mike"
|
||||
autoFocus
|
||||
value={formState.firstName.value}
|
||||
onChange={(e): void => updateForm('firstName', e.target)}
|
||||
required
|
||||
|
Loading…
x
Reference in New Issue
Block a user