From 870f823aeb1256fb352fec4dc4f2328a1b896ee6 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 29 Nov 2019 11:22:34 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-2278=20fix:=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=BA=9B=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/dynamicdate/dynamicdate.combo.js | 2 ++ src/widget/dynamicdatetime/dynamicdatetime.combo.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 7a2fedf6c..6cb363ab7 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 5572ecde5..7b249fd63 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) {