rupadana / filament-custom-forms
Found missing form in filamentphp here
Fund package maintenance!
rupadana
Installs: 1 140
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 2
Open Issues: 3
Requires
- php: ^8.1
- filament/forms: ^3.0
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2024-11-08 13:49:18 UTC
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require rupadana/filament-custom-forms
Usage
Input Group
InputGroup::make(3) ->label('Input Group') ->schema([ TextInput::make('first'), Select::make('second'), ColorPicker::make('third'), ])
Show child Label
InputGroup::make(3) ->showChildLabel() ->schema([ TextInput::make('first'), Select::make('second'), ColorPicker::make('third'), ])
Input Slider
Simple Input Slider
InputSliderGroup::make() ->sliders([ InputSlider::make('column_name') ]) ->label('Column Name')
Multiple Input
InputSliderGroup::make() ->sliders([ InputSlider::make('column_min') InputSlider::make('column_max') ]) ->label('Column Name')
Connect
InputSliderGroup::make() ->sliders([ InputSlider::make('column_min') InputSlider::make('column_max') ]) ->connect([ false, true, false ]) ->label('Column Name')
Maximum & Minimum
InputSliderGroup::make() ->sliders([ InputSlider::make('column_min') InputSlider::make('column_max') ]) ->connect([ false, true, false ]) ->max(100) ->min(0) ->label('Column Name')
Complete
InputSliderGroup::make() ->sliders([ InputSlider::make('column_min'), InputSlider::make('column_max')->default(50), ]) ->connect([ true, false, true ]) // array length must be sliders length + 1 ->range([ "min" => 30, "max" => 100 ]) ->step(10) ->behaviour([ InputSliderBehaviour::DRAG, InputSliderBehaviour::TAP ]) ->enableTooltips() ->label("Input Slider")
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.