Use NoUiSlider
You can install the package via composer:
composer require sawirricardo/filament-nouislider
You can publish the config file with:
php artisan vendor:publish --tag="filament-nouislider-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-nouislider-views"
This is the contents of the published config file:
return [
];
use Sawirricardo\FilamentNouislider\Forms\Components\Nouislider;
$form->schema([
Nouislider::make('my_slider')
->live()
->start([5, 8])
->minValue(0)
->maxValue(10)
->step(1)
->connect(),
]);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.