I noticed that these hasTime, hasDate, hasSeconds functions are used in file DateRangePicker, but never were declared. So when I pass null ->format(null) an exception is thrown.
Changes:
Removed calls to functions that do not exist hasTime, hasDate, hasSeconds.
Added a label for the selected range. (does not affect the state, only visual). ->useRangeLabels()
I noticed that these
hasTime, hasDate, hasSeconds
functions are used in fileDateRangePicker
, but never were declared. So when I pass null->format(null)
an exception is thrown.Changes:
hasTime, hasDate, hasSeconds
.->useRangeLabels()
https://github.com/malzariey/filament-daterangepicker-filter/assets/142592979/8e6fc85b-35fb-4082-8383-5e50876f78a0
->separator(' - ')
->disableCustomRange()
hiddenLabel
option to filterplaceholder
option to filter