A reusable Laravel blade component for use with Laravel Livewire for select search functionality similar to Chosen, Select2, and others except built entirely with Alpine.js
Place the blade file wherever you store your blade components (/resources/views/components)
Place it into your blade file and pass in the necesary props.
$data = Users::pluck('username','id')
You may also pass in the following attributes:
<x-select-search :data="$departments" wire:model="values" placeholder="Select something!" multiple/>