malzariey/filament-daterangepicker-filter

Mindate validation error

Closed this issue · 1 comments

Using the date range picker field's mindate() gives a validation error. It validates the whole value instead of the first date in the string value.

DateRangePicker::make('date_covered')
    ->minDate(now()->startOfDay())
    ->maxDate(now()->startOfDay()->addYears(5))
    ->required(),

image

Will look into it, thanks for reporting