diff --git a/CHANGELOG.md b/CHANGELOG.md index 260144d43..c645875cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file +## [v3.5.5] - 2024-11-22 +### Bug Fixes +- Fix date range filter default value by @edwinvdpol in https://github.com/rappasoft/laravel-livewire-tables/pull/2082 + ## [v3.5.4] - 2024-11-21 ### Bug Fixes - Allow JSON and PHP type localisations by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2071 diff --git a/src/Views/Filters/DateRangeFilter.php b/src/Views/Filters/DateRangeFilter.php index 838c0ec32..5884c10d6 100644 --- a/src/Views/Filters/DateRangeFilter.php +++ b/src/Views/Filters/DateRangeFilter.php @@ -133,7 +133,7 @@ protected function validateDateFormat(array $returnedValues, string $dateFormat) public function getDefaultValue(): array { - return []; + return $this->getFilterDefaultValue(); } public function getFilterDefaultValue(): array