30 lines
518 B
Vue
30 lines
518 B
Vue
<script setup>
|
|
import {onMounted, reactive, ref, watch} from "vue";
|
|
import FormWrapper from "components/FormWrapper.vue";
|
|
import ComboboxInput from "components/inputs/ComboboxInput.vue";
|
|
import {commonProps} from "src/composables/inputs";
|
|
|
|
const props = defineProps({
|
|
flight: {
|
|
type: Object,
|
|
required: false
|
|
},
|
|
copilots: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
});
|
|
|
|
const formData = reactive({
|
|
copilots: [],
|
|
})
|
|
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<FormWrapper v-model="formData">
|
|
|
|
</FormWrapper>
|
|
</template>
|