diff --git a/bi/widget.js b/bi/widget.js index 2c97d202d2..c121e5049c 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -4959,7 +4959,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); } diff --git a/docs/widget.js b/docs/widget.js index 2c97d202d2..c121e5049c 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -4959,7 +4959,7 @@ BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigge self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); } diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 3a1aeb6870..8d746bbd17 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -60,7 +60,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { self.fireEvent(BI.DateTrigger.EVENT_ERROR); }); this.editor.on(BI.SignEditor.EVENT_CONFIRM, function () { - var value = self.editor.getState(); + var value = self.editor.getValue(); if (BI.isNotNull(value)) { self.editor.setState(value); }