jacobtims / inline-date-time-picker
A Filament plugin for adding inline Date-time Pickers to your Filament forms.
Fund package maintenance!
Jacobtims
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Language:JavaScript
Requires
- php: ^8.1
- filament/filament: ^3.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
README
A Filament plugin for adding inline Date-time Pickers to your Filament forms.
Installation
You can install the package via composer:
composer require jacobtims/inline-date-time-picker
Optionally, you can publish the views using
php artisan vendor:publish --tag="inline-date-time-picker-views"
Usage
You can use all of the methods available for the Filament Date-time picker field, except for the prefix and suffix methods.
use Jacobtims\InlineDateTimePicker\Forms\Components\InlineDateTimePicker; InlineDateTimePicker::make('date') ->label('My Inline Date Time Picker') ->default(today()) ->minDate(today()) ->date(true) ->time(false) ->required();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
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.