@props([
'options' => [],
'placeholder' => __('Select'),
'emptyLabel' => __('No results'),
])
@php
$normalizedOptions = collect($options)
->map(fn ($label) => is_scalar($label) ? (string) $label : '')
->all();
@endphp
@foreach($normalizedOptions as $id => $label)
@endforeach
{{ $emptyLabel }}