mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Support yearRange property on the date scopetype
This commit is contained in:
parent
962aa32a60
commit
67fb168e6c
@ -5,8 +5,9 @@
|
||||
data-scope-name="<?= $scope->scopeName ?>"
|
||||
data-scope-data="<?= e(json_encode([
|
||||
'date' => isset($date) ? $date : null,
|
||||
'minDate' => $scope->minDate ? $scope->minDate : '2000-01-01' ,
|
||||
'maxDate' => $scope->maxDate ? $scope->maxDate : '2099-12-31',
|
||||
'minDate' => $scope->minDate,
|
||||
'maxDate' => $scope->maxDate,
|
||||
'yearRange' => $scope->yearRange,
|
||||
]))
|
||||
?>">
|
||||
<span class="filter-label"><?= e(trans($scope->label)) ?>:</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user