Prace s mapu, zobrazeni GPX, editace kopilota, skeletony

This commit is contained in:
Michal Kváček
2023-08-07 23:22:28 +02:00
parent 09d2f25523
commit c4603cf090
55 changed files with 891 additions and 408 deletions
+30
View File
@@ -0,0 +1,30 @@
<script setup>
import {onMounted, reactive} from "vue";
import {setDefaultData} from "src/composables/form/formHandling";
import FormWrapper from "components/FormWrapper.vue";
import {commonProps} from "src/composables/inputs";
const props = defineProps({
copilot: {
type: Object
}
})
const formData = reactive({
name: null,
});
onMounted(() => {
if (props.copilot) {
setDefaultData(formData, props.copilot);
}
})
</script>
<template>
<FormWrapper v-model="formData">
<q-input v-bind="commonProps" label="Jméno" v-model="formData.name" />
</FormWrapper>
</template>