<div class="flex items-center space-x-2 advanced-select-view-selected">
    @if(isset($field['thumbnail']) && $field['thumbnail'] && $field['thumbnail'] != '')
        @if($item->{$field['thumbnail']} && $item->{$field['thumbnail']}[0])
            <x-aura::image :id="$item->{$field['thumbnail']}[0]" alt="{{ $item->title() }}" class="object-cover w-6 h-6 rounded-full shrink-0" />
        @else
            <div class="flex justify-center items-center w-6 h-6 bg-gray-300 rounded-full">
                {{-- <svg class="w-4 h-4 text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z"></path>
                </svg> --}}
            </div>
        @endif
    @endif
    <span class="font-medium text-gray-800">{{ $item->title() }}</span>
</div>
