display first activity also on edit
This commit is contained in:
parent
b38d00ddfc
commit
b108ccf7df
|
@ -26,7 +26,7 @@
|
||||||
<f-select :options="countries" id="country_id" v-model="inner.country_id" label="Land" required></f-select>
|
<f-select :options="countries" id="country_id" v-model="inner.country_id" label="Land" required></f-select>
|
||||||
<f-select :options="nationalities" id="nationality_id" v-model="inner.nationality_id" label="Staatsangehörigkeit" required></f-select>
|
<f-select :options="nationalities" id="nationality_id" v-model="inner.nationality_id" label="Staatsangehörigkeit" required></f-select>
|
||||||
|
|
||||||
<div class="contents" v-show="mode === 'create'">
|
<div class="contents">
|
||||||
<h2 class="col-span-full font-semibold text-lg text-white">Erste Gruppierung</h2>
|
<h2 class="col-span-full font-semibold text-lg text-white">Erste Gruppierung</h2>
|
||||||
<f-select :options="activities" id="first_activity_id" v-model="inner.first_activity_id" label="Erste Tätigkeit" required></f-select>
|
<f-select :options="activities" id="first_activity_id" v-model="inner.first_activity_id" label="Erste Tätigkeit" required></f-select>
|
||||||
<f-select v-if="inner.first_activity_id" :options="subactivities[inner.first_activity_id]" id="first_subactivity_id" v-model="inner.first_subactivity_id" label="Erste Untertätigkeit" required></f-select>
|
<f-select v-if="inner.first_activity_id" :options="subactivities[inner.first_activity_id]" id="first_subactivity_id" v-model="inner.first_subactivity_id" label="Erste Untertätigkeit" required></f-select>
|
||||||
|
|
Loading…
Reference in New Issue