@if(!empty($label)) {{ $label }}@if(!empty($required)) * @endif @endif @foreach ($associatedDatas as $associatedData) {$name}->value ?? $value ?? 1) == $associatedData->value) selected @endif> {{ $associatedData->label }} @endforeach @include('modules.input-error', [ 'inputName' => $name, 'helperId' => $id . "Help", 'helper' => $helper ])