定制 nettantra/filament-slider-input-field 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nettantra/filament-slider-input-field

最新稳定版本:v0.0.6

Composer 安装命令:

composer require nettantra/filament-slider-input-field

包简介

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

README 文档

README

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-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.

统计信息

  • 总下载量: 209
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 4
  • Forks: 14
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-09