@stack($name . '_input_start')
$required, 'readonly' => $readonly, 'disabled' => $disabled, ]) @if (isset($attributes['v-show'])) v-if="{{ $attributes['v-show'] }}" @endif @if (isset($attributes['v-disabled'])) :class="[ {'disabled' : {{ $attributes['v-disabled'] }}}, {'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }}} ]" @else :class="[ {'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }}} ]" @endif > @if (! $attributes->has('label') && ! empty($label->contents)) {!! $label ?? '' !!} @elseif (! empty($label)) {!! $label !!} @endif
@php $option_id = $attributes[':id']; @endphp @foreach($options as $option) @php if (! empty($attributes[':id'])) { $attributes[':id'] = str_replace(':item_id', $option->$optionKey, $option_id); } @endphp
merge($custom_attributes) }} />
@endforeach
@if (! $attributes->has('error') && ! empty($error->contents)) {!! $error ?? '' !!} @else @endif
@stack($name . '_input_end')