Browse Source

Merge pull request #2821 in VISUAL/fineui from DEC/fineui:feature/x to master

* commit 'ec833b50f05e3c5ca13f0a8563816dc03d14c752':
  更新代码
  datetime valid触发时更新value
  REPORT-73071 fix: 加个变量记录datetime组件提交前是否触发过error
es6
Aeolus.Zhang 2 years ago
parent
commit
5c46ec37eb
  1. 1
      src/widget/dynamicdatetime/dynamicdatetime.combo.js

1
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -125,6 +125,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.DynamicDateTimeTrigger.EVENT_VALID,
action: function () {
self.storeValue = self.trigger.getValue();
self.combo.element.removeClass("error");
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_VALID);
}

Loading…
Cancel
Save