DTL optimization dialog : close on submit

This commit is contained in:
isUnknown 2025-01-27 20:20:26 +01:00
parent f5cdfba421
commit 10052aa9af

View file

@ -11,7 +11,9 @@
>
<template #header>
<h2 class="font-serif text-lg">Demander un rendez-vous</h2>
<p class="flex justify-center text-sm" data-icon="leaf">Design to Light</p>
<p class="flex justify-center text-sm" data-icon="leaf">
Design to Light
</p>
</template>
<form
@ -19,14 +21,13 @@
class="w-full p-16 flex flex-col"
style="--row-gap: 1rem"
>
<label for="projects" class="sr-only">Projet</label>
<select
name="projects"
id="projects"
<select
name="projects"
id="projects"
v-model="projectUri"
class="w-full rounded-md border border-grey-200 px-16 py-12"
required
required
>
<option value="">Sélectionnez le projet</option>
<option
@ -38,7 +39,9 @@
</option>
</select>
<label for="appointment-subject" class="sr-only">Objet du rendez-vous</label>
<label for="appointment-subject" class="sr-only"
>Objet du rendez-vous</label
>
<input
type="text"
v-model="subject"
@ -102,6 +105,7 @@ async function handleSubmit() {
formData,
"/request-optimization-appointment.json"
);
isOpen.value = false;
}
</script>