diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 7a2fedf6ca..6cb363ab77 100644 --- a/src/widget/dynamicdate/dynamicdate.combo.js +++ b/src/widget/dynamicdate/dynamicdate.combo.js @@ -273,12 +273,14 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { var o = this.options; o.minDate = minDate; this.trigger.setMinDate(minDate); + this.popup && this.popup.setMinDate(minDate); }, setMaxDate: function (maxDate) { var o = this.options; o.maxDate = maxDate; this.trigger.setMaxDate(maxDate); + this.popup && this.popup.setMaxDate(maxDate); }, setValue: function (v) { diff --git a/src/widget/dynamicdatetime/dynamicdatetime.combo.js b/src/widget/dynamicdatetime/dynamicdatetime.combo.js index 5572ecde53..7b249fd632 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.combo.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.combo.js @@ -275,12 +275,14 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { var o = this.options; o.minDate = minDate; this.trigger.setMinDate(minDate); + this.popup && this.popup.setMinDate(minDate); }, setMaxDate: function (maxDate) { var o = this.options; o.maxDate = maxDate; this.trigger.setMaxDate(maxDate); + this.popup && this.popup.setMaxDate(maxDate); }, setValue: function (v) {