by NetTantra
This is a wrapper around noUiSlider which allows creating a slider field on Filament Forms.
This is a wrapper around noUiSlider (https://refreshless.com/nouislider/) which allows creating a slider field on Filament Forms.
You can install the package via composer:
composer require nettantra/filament-slider-input-field
use NetTantra\FilamentSliderInputField\Forms\Components\SliderInput; // admin panel public static function form(Form $form): Form { return $form->schema([ ... SliderInput::make('rating') ->minValue(0) ->maxValue(5) ->step(0.05); ]); } //frontend-forms protected function getFormSchema(): array { return [ .... SliderInput::make('rating') ->minValue(0) ->maxValue(5) ->step(0.05); ]; }
Please see CHANGELOG for more information on latest changes.
Please report any security vulnerabilities by raising an issue here
The MIT License (MIT). Please see License File for more information.