Adopt changes in myep authentication and forms

This commit is contained in:
Björn Fromme
2021-11-03 17:09:57 +01:00
parent c9a2b5ee08
commit da4f6acb9b
3 changed files with 1 additions and 29 deletions
@@ -92,11 +92,6 @@
:mutable="mutableFields.services.mutable"
v-on:updated="onServiceUpdated($event, index)"
/>
<participant-sizes-form :services="services.other"
:participant="participant"
:mutable="mutableFields.services.mutable"
v-on:updated="onParticipantDataUpdated($event, index)"
/>
<pickup-select
:pickups="services.pickups"
:participant="participant"
@@ -4,36 +4,13 @@
type="button"
@click.prevent="visible = !visible">
<span>
Adresse/Telefon
Telefon
</span>
<svg class="w-4 h-4 transform" :class="{ 'rotate-180': visible }">
<use href="#icon-chevron-down"></use>
</svg>
</button>
<div class="absolute top-100 left-0 z-10 mt-4 border shadow-md p-4 bg-white w-screen max-w-xs space-y-2" v-show="visible">
<input class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full" type="text" placeholder="Straße"
v-model="participant.data.street" :disabled="!mutable"
@change="$emit('updated', participant)"
>
<input class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full" type="text" placeholder="PLZ"
v-model="participant.data.zipCode" :disabled="!mutable"
@change="$emit('updated', participant)"
>
<input class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full" type="text" placeholder="Ort"
v-model="participant.data.city" :disabled="!mutable"
@change="$emit('updated', participant)"
>
<select class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full"
v-model="participant.data.country" :disabled="!mutable"
@change="$emit('updated', participant)"
>
<option value="">Land...</option>
<option v-for="country in countries" :key="country.code" :value="country.code">{{ country.name }}</option>
</select>
<input class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full" type="text" placeholder="Telefon"
v-model="participant.data.phonePrivate" :disabled="!mutable"
@change="$emit('updated', participant)"
>
<input class="border-gray-400 focus:border-gray-800 ring-0 focus:ring-0 mt-1 w-full" type="text" placeholder="Mobil"
v-model="participant.data.phoneMobile" :disabled="!mutable"
@change="$emit('updated', participant)"