feat(playground) : formulaire client utilise MalioRadioGroup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-24 16:33:29 +02:00
parent a24748f7b1
commit 06f9b0218a
@@ -68,6 +68,22 @@
]" ]"
/> />
<MalioCheckbox label="Prestation de triage" groupClass="self-center"/> <MalioCheckbox label="Prestation de triage" groupClass="self-center"/>
<MalioRadioGroup
v-model="prestationChoice"
:options="prestationOptions"
inline
error="Sélection requise"
/>
<MalioSelect
v-model="fournisseur"
value=""
label="Fournisseur"
error="Sélection requise"
:options="[
{label: 'Fournisseur 1', value: 'Fournisseur 1'},
{label: 'Fournisseur 2', value: 'Fournisseur 2'},
]"
/>
</div> </div>
<div class="mt-12 flex justify-center"> <div class="mt-12 flex justify-center">
@@ -188,6 +204,12 @@ const distributeur = ref<string>('')
const phones = ref<string[]>(['']) const phones = ref<string[]>([''])
const nomDistributeur = ref<string>('') const nomDistributeur = ref<string>('')
const nomCourtier = ref<string>('') const nomCourtier = ref<string>('')
const fournisseur = ref<string>('')
const prestationChoice = ref<string | null>(null)
const prestationOptions = [
{label: 'Oui', value: 'oui'},
{label: 'Non', value: 'non'},
]
function addPhoneInput() { function addPhoneInput() {
phones.value.push('') phones.value.push('')