New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rupadana/filament-custom-forms

Found missing form in filamentphp here
2,835 10
Install
composer require rupadana/filament-custom-forms
Latest Version:3.0.3
PHP:^8.1
Laravel:10
License:MIT
Last Updated:Jul 8, 2024
Links: GitHub  ·  Packagist
Maintainer: rupadana

Found missing form in filamentphp here

Latest Version on Packagist Total Downloads

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.

Related Packages

rupadana/filament-slider

Slide into Precision – Customizable Control at Your Fingertips.

32,131 12
rupadana/filament-swiper

The Most Modern Mobile Touch Slider on Filamentphp

17,198 37
rupadana/filament-announce

An easy way to shout your exceptional offerings to the potential users

13,777 57
rupadana/filament-api-service

A simple api service for supporting filamentphp

160,592 213
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

655,942,320 9,702

Version History

Version Released PHP Laravel License
3.0.3 ^8.1 ^10.0 MIT
3.0.2 ^8.1 ^10.0 MIT
3.0.1 ^8.1 ^10.0 MIT
3.0.0 ^8.1 ^10.0 MIT