mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
fix(webui): add autofocus on some dialogs
This commit is contained in:
parent
7200046ea5
commit
339570e17c
5 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
<v-col>
|
||||
<v-text-field
|
||||
v-model="newCollection"
|
||||
autofocus
|
||||
:label="$t('dialog.add_to_collection.field_search_create')"
|
||||
@keydown.enter="create"
|
||||
:error-messages="duplicate"
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
<v-row>
|
||||
<v-col>
|
||||
<v-text-field v-model="form.name"
|
||||
autofocus
|
||||
:label="$t('dialog.edit_library.field_name')"
|
||||
:error-messages="getErrors('name')"
|
||||
@input="$v.form.name.$touch()"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
<v-row>
|
||||
<v-col>
|
||||
<v-text-field :label="$t('dialog.password_change.field_new_password')"
|
||||
autofocus
|
||||
v-model="form.newPassword"
|
||||
autocomplete="off"
|
||||
:type="showPassword1 ? 'text' : 'password'"
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
<v-col>
|
||||
<v-text-field
|
||||
v-model="newReadList"
|
||||
autofocus
|
||||
:label="$t('dialog.add_to_readlist.field_search_create')"
|
||||
@keydown.enter="create"
|
||||
:error-messages="duplicate"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
<v-row>
|
||||
<v-col>
|
||||
<v-text-field v-model="form.email"
|
||||
autofocus
|
||||
:label="$t('dialog.add_user.field_email')"
|
||||
:error-messages="getErrors('email')"
|
||||
@blur="$v.form.email.$touch()"
|
||||
|
|
|
|||
Loading…
Reference in a new issue