1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 09:07:12 -05:00

tweaked file input

This commit is contained in:
vabene1111
2024-08-24 10:09:46 +02:00
parent c92c19d9b2
commit 830a385bda
2 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<template>
<v-input>
<v-card width="100%" link @click="dialog = !dialog">
<v-input :hint="hint" :persistent-hint="persistentHint">
<v-card width="100%" link @click="dialog = !dialog" >
<v-card-text class="pt-2 pb-2">
<div class="d-flex flex-row">
<div>
@@ -15,7 +15,6 @@
<span class="ms-2" v-if="model != null">{{ model.name }}</span></div>
</div>
</v-card-text>
<!--TODO right floating edit/remove/delete/??? button -->
@@ -110,6 +109,8 @@ const emit = defineEmits(['update:modelValue', 'create'])
const props = defineProps({
model: {type: {} as UserFile, default: null},
label: {type: String, default: ''},
hint: {type: String, default: ''},
persistentHint: {type: Boolean, default: false},
})
const model = defineModel()