diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-05-14 15:08:39 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-05-30 15:32:20 -0700 |
commit | 76104aa7091cdb42511b3e281da6b170a7f86adc (patch) | |
tree | 21a3d985d32c7ff6e182f2600e27946be38c7ab8 /apps/settings/src | |
parent | 45ba61bbfb58b1a7a330f85854b6c507da0fa4fd (diff) | |
download | nextcloud-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.vue | 4 |
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 |