Autofocus login username field
This commit is contained in:
parent
d5be3b65de
commit
6be0778b39
|
@ -51,6 +51,7 @@ export function LoginForm(props) {
|
||||||
placeholder='first.last'
|
placeholder='first.last'
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
error={error.username}
|
error={error.username}
|
||||||
|
autoFocus
|
||||||
/>
|
/>
|
||||||
<Form.Input
|
<Form.Input
|
||||||
label='Password'
|
label='Password'
|
||||||
|
@ -63,7 +64,7 @@ export function LoginForm(props) {
|
||||||
Log In
|
Log In
|
||||||
</Form.Button>
|
</Form.Button>
|
||||||
|
|
||||||
<Message basic warning>
|
<Message warning>
|
||||||
<Message.Header>Forgot your password?</Message.Header>
|
<Message.Header>Forgot your password?</Message.Header>
|
||||||
<p><Link to='/password/reset/'>Click here</Link> to reset it.</p>
|
<p><Link to='/password/reset/'>Click here</Link> to reset it.</p>
|
||||||
</Message>
|
</Message>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user