diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/DaterangeSelect.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/DaterangeSelect.vue index cb78309e..9e7270aa 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/DaterangeSelect.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/DaterangeSelect.vue @@ -107,6 +107,10 @@ if (this.from && this.to) { this.picker.setDate([ new Date(this.from), new Date(this.to) ]); } + if (this.minDate && this.maxDate) { + this.picker.set('minDate', new Date(this.minDate)); + this.picker.set('maxDate', new Date(this.maxDate)); + } }); EventBus.$on('filterSettingsReset', () => { this.reset();