From 682917f50c0388593309789a494e0a6f2e38759c Mon Sep 17 00:00:00 2001
From: JJ-8 <34778827+JJ-8@users.noreply.github.com>
Date: Sat, 10 Aug 2024 13:44:13 +0200
Subject: [PATCH] Autofocus username field on login and registration
This makes it possible to have a login / registration flow easily by only keyboard.
---
front/src/components/Auth/Login.vue | 1 +
front/src/components/Auth/Register.vue | 1 +
2 files changed, 2 insertions(+)
diff --git a/front/src/components/Auth/Login.vue b/front/src/components/Auth/Login.vue
index 139799962..0e9c5ff65 100644
--- a/front/src/components/Auth/Login.vue
+++ b/front/src/components/Auth/Login.vue
@@ -14,6 +14,7 @@
autocapitalize="none"
label="Username"
required
+ autofocus
/>
diff --git a/front/src/components/Auth/Register.vue b/front/src/components/Auth/Register.vue
index 7c43ee128..16be2931c 100644
--- a/front/src/components/Auth/Register.vue
+++ b/front/src/components/Auth/Register.vue
@@ -13,6 +13,7 @@
dense
label="Username"
required
+ autofocus
/>