Skip to content

nettantra/filament-dynamic-column-tables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slider Input Field for Filament Forms

This is a wrapper around noUiSlider which allows creating a slider field on Filament Forms.

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require nettantra/filament-dynamic-column-tables

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages