Add shared form fields for contact details

This commit is contained in:
MatthieuTD
2025-09-25 14:44:42 +02:00
parent a4840c454f
commit 041478e9d4
11 changed files with 523 additions and 96 deletions

View File

@@ -13,18 +13,7 @@
/>
</div>
<div class="form-control">
<label class="label">
<span class="label-text">Téléphone</span>
</label>
<input
v-model="form.contactPhone"
type="tel"
placeholder="Ex: 06 00 00 00 00"
class="input input-bordered"
required
/>
</div>
<FieldPhone v-model="form.contactPhone" required />
<div class="form-control">
<label class="label">
@@ -73,6 +62,8 @@
import { toRefs } from 'vue'
import type { PropType } from 'vue'
import FieldPhone from '~/components/form/FieldPhone.vue'
type SiteForm = {
contactName: string
contactPhone: string