@props([ 'name', 'items', 'selected' => null, 'placeholder' => 'Type to search ...', 'submit' => false, 'inputClass' => 'mt-1 block w-full rounded-md border-gray-300 text-sm', 'emptyText' => 'Nothing matches', ]) {{-- Smart picklist: type to search, pick a result. $items = [['id' => 1, 'label' => '...', 'sub' => '...'], ...] --}}

Pick one from the list.