Skip to content

Commit

Permalink
Autofocus username field on login and registration
Browse files Browse the repository at this point in the history
This makes it possible to have a login / registration flow easily by only keyboard.
  • Loading branch information
JJ-8 committed Aug 10, 2024
1 parent 7cfff57 commit 682917f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions front/src/components/Auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
autocapitalize="none"
label="Username"
required
autofocus
/>
<password-input v-model="form.password" dense required />

Expand Down
1 change: 1 addition & 0 deletions front/src/components/Auth/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
dense
label="Username"
required
autofocus
/>
<password-input
v-model="form.password"
Expand Down

0 comments on commit 682917f

Please sign in to comment.