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