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> <template #header>
<h2 class="font-serif text-lg">Demander un rendez-vous</h2> <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> </template>
<form <form
@ -19,7 +21,6 @@
class="w-full p-16 flex flex-col" class="w-full p-16 flex flex-col"
style="--row-gap: 1rem" style="--row-gap: 1rem"
> >
<label for="projects" class="sr-only">Projet</label> <label for="projects" class="sr-only">Projet</label>
<select <select
name="projects" name="projects"
@ -38,7 +39,9 @@
</option> </option>
</select> </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 <input
type="text" type="text"
v-model="subject" v-model="subject"
@ -102,6 +105,7 @@ async function handleSubmit() {
formData, formData,
"/request-optimization-appointment.json" "/request-optimization-appointment.json"
); );
isOpen.value = false;
} }
</script> </script>