add note field to member

This commit is contained in:
Julian Krauser 2025-06-02 13:30:16 +02:00
parent 516c6a9e92
commit 3b89262ce9
4 changed files with 20 additions and 4 deletions

View file

@ -80,6 +80,10 @@
<input type="text" id="internalId" />
</div>
<div>
<label for="note">Notiz (optional)</label>
<textarea type="text" id="note" />
</div>
<div class="flex flex-row gap-2">
<button primary type="submit" :disabled="status == 'loading' || status?.status == 'success'">erstellen</button>
<Spinner v-if="status == 'loading'" class="my-auto" />
@ -154,6 +158,7 @@ export default defineComponent({
nameaffix: formData.nameaffix.value,
birthdate: formData.birthdate.value,
internalId: formData.internalId.value,
note: formData.note.value,
};
this.status = "loading";
this.createMember(createMember)