Skip to content

Commit

Permalink
Merge pull request #1791 from LowerRockLabs/DatePickerJsFix
Browse files Browse the repository at this point in the history
Fix javascript updates for DateRangeFilter
  • Loading branch information
lrljoe authored Jul 23, 2024
2 parents fe76d9c + 6ba5c1a commit 4b4ae4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/js/laravel-livewire-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ document.addEventListener('alpine:init', () => {
mode: 'range',
clickOpens: true,
allowInvalidPreload: true,
defaultDate: [],
defaultDate: filterConfig['defaultDate'],
ariaDateFormat: filterConfig['ariaDateFormat'],
allowInput: filterConfig['allowInput'],
altFormat: filterConfig['altFormat'],
altInput: filterConfig['altInput'],
dateFormat: filterConfig['dateFormat'],
locale: 'en',
locale: filterConfig['locale'],
minDate: filterConfig['earliestDate'],
maxDate: filterConfig['latestDate'],
onOpen: function () {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/laravel-livewire-tables.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b4ae4e

Please sign in to comment.