@php //dd($errors); @endphp

Nouveau champ

{!! displayInputV2([ 'type' => 'text', 'name' => 'name', 'label' => 'Nom du champ', 'errors' => $errors, 'required' => true, 'placeholder' => 'Prénom, Adresse email, ...', //'max_size' => 160 ]) !!} {!! displaySelect([ 'name' => 'type', 'label' => 'Type', 'items' => [ 'text' => 'Texte', 'email' => 'Email', 'tel' => 'Telephone' ], 'errors' => $errors, 'required' => true ]) !!} {!! displayRadios([ 'general_label' => 'Ce champ est obligatoire', 'general_name' => 'is_required', 'required' => true, 'errors' => $errors, 'is_inline' => true, 'items' => [ 1 => 'Oui', 0 => 'Non' ], 'division' => '3:5:4', 'default' => 1 ]) !!}