Reorganizace skeletonu, aktualizace app-vite a quasaru
This commit is contained in:
@@ -13,8 +13,8 @@ const props = defineProps({
|
||||
locations: {
|
||||
type: Array
|
||||
},
|
||||
aircraft: {
|
||||
type: Object
|
||||
aircrafts: {
|
||||
type: Array
|
||||
},
|
||||
copilots: {
|
||||
type: Array
|
||||
@@ -27,7 +27,7 @@ const formData = ref({
|
||||
description: "",
|
||||
pointOfInterest: null,
|
||||
copilots: [],
|
||||
isAircraft: false,
|
||||
aircraftId: null,
|
||||
});
|
||||
|
||||
const setup = (() => {
|
||||
@@ -58,7 +58,17 @@ const setup = (() => {
|
||||
multiple
|
||||
/>
|
||||
|
||||
<q-checkbox v-model="formData.isAircraft" :label="`Letadlo (${aircraft.callSign})`"/>
|
||||
<q-select
|
||||
:options="aircrafts"
|
||||
v-model="formData.aircraftId"
|
||||
v-bind="commonProps"
|
||||
label="Letadlo"
|
||||
option-label="callSign"
|
||||
option-value="id"
|
||||
emit-value
|
||||
map-options
|
||||
/>
|
||||
|
||||
<q-input v-model="formData.name" label="Název" v-bind="commonProps"/>
|
||||
<q-input type="textarea" v-model="formData.description" label="Popis" v-bind="commonProps"/>
|
||||
</FormWrapper>
|
||||
|
||||
Reference in New Issue
Block a user