mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-30 06:39:35 +02:00
Update create bookmark to not autofocus input and leave empty with placeholder
This commit is contained in:
parent
6a2f487ed5
commit
a77f345596
3 changed files with 18 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="w-full">
|
||||
<p class="pb-0.5 text-sm font-semibold">{{ label }}</p>
|
||||
<ui-text-input v-model="inputValue" ref="input" :disabled="disabled" :type="type" text-size="base" class="w-full" />
|
||||
<ui-text-input v-model="inputValue" ref="input" :disabled="disabled" :type="type" :placeholder="placeholder" :autofocus="autofocus" text-size="base" class="w-full" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -14,7 +14,12 @@ export default {
|
|||
type: String,
|
||||
default: 'text'
|
||||
},
|
||||
disabled: Boolean
|
||||
disabled: Boolean,
|
||||
placeholder: String,
|
||||
autofocus: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue