Browse Source

Merge pull request #72861 in DEC/fineui from release/11.0 to feature/x

* commit '81018c66784e239e4fbe919ad23125e47d5f56aa':
  更新代码
  datetime valid触发时更新value
  REPORT-73071 fix: 加个变量记录datetime组件提交前是否触发过error
es6
superman 3 years ago
parent
commit
ec833b50f0
  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