mirror of
https://github.com/gotson/komga.git
synced 2026-05-09 05:10:19 +02: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-col>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="newCollection"
|
v-model="newCollection"
|
||||||
|
autofocus
|
||||||
:label="$t('dialog.add_to_collection.field_search_create')"
|
:label="$t('dialog.add_to_collection.field_search_create')"
|
||||||
@keydown.enter="create"
|
@keydown.enter="create"
|
||||||
:error-messages="duplicate"
|
:error-messages="duplicate"
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-text-field v-model="form.name"
|
<v-text-field v-model="form.name"
|
||||||
|
autofocus
|
||||||
:label="$t('dialog.edit_library.field_name')"
|
:label="$t('dialog.edit_library.field_name')"
|
||||||
:error-messages="getErrors('name')"
|
:error-messages="getErrors('name')"
|
||||||
@input="$v.form.name.$touch()"
|
@input="$v.form.name.$touch()"
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-text-field :label="$t('dialog.password_change.field_new_password')"
|
<v-text-field :label="$t('dialog.password_change.field_new_password')"
|
||||||
|
autofocus
|
||||||
v-model="form.newPassword"
|
v-model="form.newPassword"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
:type="showPassword1 ? 'text' : 'password'"
|
:type="showPassword1 ? 'text' : 'password'"
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="newReadList"
|
v-model="newReadList"
|
||||||
|
autofocus
|
||||||
:label="$t('dialog.add_to_readlist.field_search_create')"
|
:label="$t('dialog.add_to_readlist.field_search_create')"
|
||||||
@keydown.enter="create"
|
@keydown.enter="create"
|
||||||
:error-messages="duplicate"
|
:error-messages="duplicate"
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-text-field v-model="form.email"
|
<v-text-field v-model="form.email"
|
||||||
|
autofocus
|
||||||
:label="$t('dialog.add_user.field_email')"
|
:label="$t('dialog.add_user.field_email')"
|
||||||
:error-messages="getErrors('email')"
|
:error-messages="getErrors('email')"
|
||||||
@blur="$v.form.email.$touch()"
|
@blur="$v.form.email.$touch()"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue