FilamentF
Filament15mo ago
Rojak

Date Range Filter Plugin Error

I'm trying the date range filter plugin on my report page (report plugin) but every time I try it always gives an error.

here's the code
    public function filterForm(Form $form): Form
    {
        return $form
            ->schema([
                DateRangeFilter::make('created_at')
                ->label('Tanggal Penjualan')
                ->defaultToday(),
            ]);
    }
image.png
Was this page helpful?