marshmallow/nova-date-range-filter

A Laravel Nova date range filter.

v2.0.2 2024-04-25 09:54 UTC

This package is auto-updated.

Last update: 2024-12-04 21:37:03 UTC


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'),
        ];
    }