Update create bookmark to not autofocus input and leave empty with placeholder

This commit is contained in:
advplyr 2025-06-22 17:36:09 -05:00
parent 6a2f487ed5
commit a77f345596
3 changed files with 18 additions and 15 deletions

View file

@ -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 {}