marshmallow / nova-date-range-filter
A Laravel Nova date range filter.
Installs: 102 189
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 7
Open Issues: 4
Language:CSS
Requires
- php: ^8.0
- laravel/nova: ^4.0
README
Nova filter that displays a Date Range Picker instead of a select. This field also supports dark-mode!
Install
Run this command in your nova project:
composer require marshmallow/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'), ]; }