Skip to content

A Laravel Nova select resource filter with typeahead functionality.

Notifications You must be signed in to change notification settings

ryk4/laravel-nova-typeahead-filter

 
 

Repository files navigation

Laravel Nova Typeahead Filter

This package provides an easy-to-setup searchable select filter for Laravel Nova resources.

Installation

Install via composer:

$ composer require devpartners/typeahead-filter

Using in Laravel Nova

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.

demo

About

A Laravel Nova select resource filter with typeahead functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 34.7%
  • PHP 26.7%
  • SCSS 20.3%
  • JavaScript 18.3%