Skip to content

Commit

Permalink
feat: add autocomplete attributes to login fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcl-io committed Apr 14, 2021
1 parent a6aceb4 commit 9329c6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,13 @@ const Login = () => {
/>

<TextField
type='text'
name='username'
label='Username'
variant='outlined'
fullWidth
autoFocus
autoComplete='username'
value={values.username}
onChange={handleChange}
onBlur={handleBlur}
Expand All @@ -229,6 +231,7 @@ const Login = () => {
label='Password'
variant='outlined'
fullWidth
autoComplete='current-password'
value={values.password}
onChange={handleChange}
onBlur={handleBlur}
Expand Down

0 comments on commit 9329c6b

Please sign in to comment.