Stepper
A Form Component for Number Input.
Author:
Martin Hwang
Documentation
#Installation
You can install the package via composer:
composer require icetalker/filament-stepper
#Usage
use Icetalker\FilamentStepper\Forms\Components\Stepper;
protected function getFormSchema(): array
{
return [
...
Stepper::make('quantity')
->minValue(1)
->maxValue(20)
->default(5);
...
];
}
#Available Methods
| Method | Description | Usage |
|---|---|---|
| step | Set interval for number input field | Stepper::make('price')->step(0.01) |
| default | Define a default value | Stepper::make('quantity')->default(1000) |
| maxValue | Define the max value that allow the user to input | Stepper::make('quantity')->maxValue(10) |
| minValue | Define the min value that allow the user to input | Stepper::make('quantity')->minValue(2) |
| placeHolder | Define a placeholder value for when it has no value | Stepper::make('stock')->maxValue('Please input stock number') |
| disableManualInput | Determine if the user could input the number manually | Stepper::make('quantity')->disableManualInput() This sample will disable manual input, even so, user can still change the value through buttons. |
| ... | Other methods from filament forms field |
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
From the same author
Table Repeatable Entry
An infolist entry used to display a RepetableEntry as a table.
Author:
Martin Hwang
ChatGPT Bot
Talk to ChatGPT Inside Filament.
Author:
Martin Hwang
Picker
A plugin that allows you to pick a value from a list of options.
Author:
Martin Hwang
Table Repeater
Filament Repeater display in table layout.
Author:
Martin Hwang
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle