@props(['addon']) @if($addon->type === 'heading')
{{ $addon->label }}
@if($addon->description){{ $addon->description }}
@endif{{ $addon->description }}
@endif @switch($addon->type) @case('heading') {{-- Juste un sous-titre visuel, pas de champ de saisie --}} @break @case('text') required ? 'required' : '' }} class="w-full border border-gray-300 rounded px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-brand-500"> @break @case('textarea') @if($addon->sync_qty)Un prénom par ligne — la quantité s'ajuste automatiquement.
@endif @break @case('select') @break @case('radio')