{{-- Searchable multi-select of services. Params: $name, $selected (array of ids), $services --}} @php $input = 'w-full px-4 py-2.5 bg-surface-container rounded-lg border-none focus:ring-2 focus:ring-primary/20 text-body-md outline-none'; $selected = collect($selected)->map(fn ($v) => (int) $v)->all(); @endphp