{{-- A group of checkboxes for one array property, in a fieldset whose legend names the group. Native inputs with wrapping labels, so every box has a name; the validation error is announced with the group. $options: list of ['value' => ..., 'label' => ..., 'note' => ?string]. --}} @props([ 'legend', 'model', 'options', 'hint' => null, 'columns' => true, // true: 2 from sm and 3 from lg; 2: always two; false: one ]) @php $errorKey = $model; $id = 'group-'.str_replace('.', '-', $model); @endphp