jacobtims/inline-date-time-picker

A Filament plugin for adding inline Date-time Pickers to your Filament forms.

Fund package maintenance!
Jacobtims

Installs: 122

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Language:JavaScript

v1.0.1 2024-09-14 06:23 UTC

This package is auto-updated.

Last update: 2024-11-15 12:51:28 UTC


README

Filament 3.x Latest Version on Packagist Total Downloads

Screenshot

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.