bithaolee / nova-date-range-filter
A Laravel Nova date range filter.
dev-master
2023-08-07 14:18 UTC
Requires
- php: ^8.0
- laravel/nova: ^4.0
This package is auto-updated.
Last update: 2024-11-07 17:02:18 UTC
README
Nova filter that displays a Date Range Picker instead of a select.
Install
Run this command in your nova project:
composer require bithaolee/nova-date-range-filter
How to use
Just use DateRangeFilter class instead of Filter
public function filters(Request $request) { return [ new \Marshmallow\Filters\DateRangeFilter('created_at', 'Created date'), ]; }