@foreach($options as $optValue => $optLabel)
$horizontal])> old($nameError) && !$errors->has($name), 'is-invalid' => $errors->has($nameError)]) type="radio" name="{{$name}}" id="{{$id}}-{{$optValue}}" @if($required) required @endif @if($disabled) disabled @endif @if($readonly || $route === 'show') readonly @endif @if($optValue == $value) checked @endif>
@endforeach @error($nameError)
{{$message}}
@enderror