This package provides an easy-to-setup searchable select filter for Laravel Nova resources.
Install via composer:
$ composer require devpartners/typeahead-filter
After the package has been installed with Composer, simply create a new Nova filter or change an existing filter to use the typeahead-filter component. Refer to the Nova docs for help with creating a new filter.
namespace App\Nova\Filters;
use Illuminate\Http\Request;
use Laravel\Nova\Filters\Filter;
class IndustryFilter extends Filter
{
/**
* The filter's component.
*
* @var string
*/
public $component = 'typeahead-filter';
Refresh your browser or navigate to your resource's index page to start using your typeahead select filter.