nettantra / filament-slider-input-field
This is a wrapper around noUiSlider which allows creating a slider field on Filament Forms.
Installs: 209
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 4
Forks: 13
Open Issues: 4
Language:Blade
Requires
- php: ^8.0|^8.1
- filament/forms: ^3.0-stable
- illuminate/contracts: ^9.0|^10.0
- jantinnerezo/livewire-range-slider: ^1.0
- spatie/laravel-package-tools: ^1.13.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0|^7.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21|^2.0
- pestphp/pest-plugin-laravel: ^1.1|^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5|^10.0
README
This is a wrapper around noUiSlider which allows creating a slider field on Filament Forms.
Installation
You can install the package via composer:
composer require nettantra/filament-slider-input-field
Usage
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); ]; }
Changelog
Please see CHANGELOG for more information on latest changes.
Security Vulnerabilities
Please report any security vulnerabilities by raising an issue here
Credits
License
The MIT License (MIT). Please see License File for more information.