diff --git a/src/widget/datepane/datepane.js b/src/widget/datepane/datepane.js index 52b8beacd5..c2bdf7451c 100644 --- a/src/widget/datepane/datepane.js +++ b/src/widget/datepane/datepane.js @@ -85,6 +85,8 @@ BI.DynamicDatePane = BI.inherit(BI.Widget, { default: return { type: "bi.dynamic_date_card", + min: o.minDate, + max: o.maxDate, listeners: [{ eventName: "EVENT_CHANGE", action: function () { diff --git a/src/widget/datetimepane/datetimepane.js b/src/widget/datetimepane/datetimepane.js index b822b7fb24..34e6f42246 100644 --- a/src/widget/datetimepane/datetimepane.js +++ b/src/widget/datetimepane/datetimepane.js @@ -84,6 +84,8 @@ BI.DynamicDateTimePane = BI.inherit(BI.Widget, { default: return { type: "bi.dynamic_date_card", + min: o.minDate, + max: o.maxDate, listeners: [{ eventName: "EVENT_CHANGE", action: function () {