Lepsi verejna cast, ssr, lepsi prace s fotkamaa

This commit is contained in:
Michal Kváček
2023-12-04 22:46:23 +01:00
parent 11cc6ad107
commit 3bd4d7ba52
62 changed files with 1331 additions and 619 deletions
+4 -9
View File
@@ -14,8 +14,8 @@ const formData = reactive({
seats: null,
manufacturer: "",
description: "",
photo: null,
organization: null
organization: null,
isPublic: false
});
const props = defineProps({
@@ -84,8 +84,6 @@ onMounted(() => {
v-bind="commonProps"
/>
<q-input
type="textarea"
v-model="formData.description"
@@ -93,10 +91,7 @@ onMounted(() => {
v-bind="commonProps"
/>
<q-file v-model="formData.photo" label="Fotografie" v-bind="commonProps">
<template #prepend>
<q-icon name="upload"/>
</template>
</q-file>
<q-checkbox v-model="formData.isPublic" label="Veřejné?" v-bind="commonProps"/>
</FormWrapper>
</template>