Skip to content

Commit

Permalink
DateRangeFilter - use filterComponents not appliedFlters
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe committed Sep 29, 2024
1 parent 6bf0d09 commit 3c768cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
x-ref="dateRangeInput"
x-on:click="init"
x-on:change="changedValue($refs.dateRangeInput.value)"
value="{{ $filter->getDateString(isset($this->appliedFilters[$filterKey]) ? $this->appliedFilters[$filterKey] : '') }}"
value="{{ $filter->getDateString(isset($this->filterComponents[$filterKey]) ? $this->filterComponents[$filterKey] : '') }}"
wire:key="{{ $filter->generateWireKey($tableName, 'dateRange') }}"
id="{{ $tableName }}-filter-dateRange-{{ $filterKey }}"
@class([
Expand Down

0 comments on commit 3c768cb

Please sign in to comment.