@if($multiple) @php $value = json_decode(old($nameError, $value), true) ?? []; @endphp @else @php $value = [old($nameError, $value)]; @endphp @endif @if($label) $readonly ])>{{$label}} * @endif @foreach($options as $key => $itens) @if($key !== '') @endif @foreach ($itens as $option) valor, $value)) selected @endif @if (isset($option->icon)) data-icon="{{$option->icon}}" @endif @if (isset($option->content)) data-content="{{$option->content}}" @endif @if (isset($option->class)) class="{{$option->class}}" @endif @if (isset($option->style)) style="{{$option->style}}" @endif @if ($option->desabilitado) disabled @endif value="{{$option->valor}}"> {{$option->descricao}} @endforeach @if($key !== '') @endif @endforeach