aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2024-05-14 15:08:39 -0700
committerChristopher Ng <chrng8@gmail.com>2024-05-30 15:32:20 -0700
commit76104aa7091cdb42511b3e281da6b170a7f86adc (patch)
tree21a3d985d32c7ff6e182f2600e27946be38c7ab8 /apps/settings/src
parent45ba61bbfb58b1a7a330f85854b6c507da0fa4fd (diff)
downloadnextcloud-server-76104aa7091cdb42511b3e281da6b170a7f86adc.tar.gz
nextcloud-server-76104aa7091cdb42511b3e281da6b170a7f86adc.zip
fix: Autofocus username input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/Users/NewUserDialog.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/src/components/Users/NewUserDialog.vue b/apps/settings/src/components/Users/NewUserDialog.vue
index 70db2320d33..1205706153f 100644
--- a/apps/settings/src/components/Users/NewUserDialog.vue
+++ b/apps/settings/src/components/Users/NewUserDialog.vue
@@ -259,6 +259,10 @@ export default {
await this.searchUserManager()
},
+ mounted() {
+ this.$refs.username?.focus?.()
+ },
+
methods: {
async createUser() {
this.loading.all = true