Skip to content

Commit f15e190

Browse files
hermanliangsteven-supersolid
authored andcommitted
set autofocus on the username input field (#644)
1 parent 286037c commit f15e190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/login/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class Login extends React.Component {
3737
>
3838
<LoginRow
3939
label='Username'
40-
input={<input name='username' type='username' />} />
40+
input={<input name='username' type='username' autoFocus />} />
4141
<LoginRow
4242
label='Password'
4343
input={<input name='password' type='password' />} />

0 commit comments

Comments
 (0)