add city to form
This commit is contained in:
parent
9006a46a1c
commit
6d5d1d9f79
1 changed files with 12 additions and 1 deletions
|
@ -38,7 +38,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<DetailFormInput title="Stichwort" v-model="mission_short" :awareness="awareness" :enabled="enabled" />
|
||||
<DetailFormInput title="Einsatzort" v-model="location" :awareness="awareness" :enabled="enabled" />
|
||||
<div class="flex flex-col sm:flex-row gap-2">
|
||||
<DetailFormInput title="Einsatzort" v-model="location" :awareness="awareness" :enabled="enabled" />
|
||||
<DetailFormInput title="Ortsname" v-model="city" :awareness="awareness" :enabled="enabled" />
|
||||
</div>
|
||||
<DetailFormInput
|
||||
title="Weitere Anwesende (andere Wehren, Polizei, Rettungsdienst)"
|
||||
v-model="others"
|
||||
|
@ -173,6 +176,14 @@ export default defineComponent({
|
|||
this.document.getMap("form").set("location", val);
|
||||
},
|
||||
},
|
||||
city: {
|
||||
get() {
|
||||
return this.document.getMap("form").get("city") as string;
|
||||
},
|
||||
set(val: string) {
|
||||
this.document.getMap("form").set("city", val);
|
||||
},
|
||||
},
|
||||
others: {
|
||||
get() {
|
||||
return this.document.getMap("form").get("others") as string;
|
||||
|
|
Loading…
Add table
Reference in a new issue