@php $field = $field ?? $attributes->wire('model')->value(); $selectedValue = $this->{$field} ?? ''; @endphp
{{ $placeholder ?? 'Select' }}
@foreach($options as $k => $v)
{{ $v }}
@endforeach