below the input * bool $required — whether the field is required; default false * bool $multiple — whether to allow multiple file selection; default false * string|null $id — override the id attribute (defaults to $name) * string|null $fieldName — mapped to FilePond queue-type: 'couverture'→cover, 'note_intention'→note_intention, 'annexes'→annexe */ $accept = $accept ?? ''; $hint = $hint ?? null; $hintRaw = $hintRaw ?? false; // when true, $hint is emitted as raw HTML $required = $required ?? false; $multiple = $multiple ?? false; $id = $id ?? $name; $fieldName = $fieldName ?? $name; // Map legacy field names to FilePond queue types $queueTypeMap = [ 'couverture' => 'cover', 'note_intention' => 'note_intention', 'annexes' => 'annexe', ]; $queueType = $queueTypeMap[$fieldName] ?? null; ?>
>