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