Browse Source

Pull request #65545: REPORT-73071 datetime valid触发时更新value

Merge in DEC/fineui from ~AUSTIN.DUAN/new-decision-fineui:release/11.0 to release/11.0

* commit 'f1e3174b4514cba0b545ff65d02cd94f7d41c7aa':
  更新代码
  datetime valid触发时更新value
  REPORT-73071 fix: 加个变量记录datetime组件提交前是否触发过error
research/test
Austin.Duan 2 years ago
parent
commit
81018c6678
  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, eventName: BI.DynamicDateTimeTrigger.EVENT_VALID,
action: function () { action: function () {
self.storeValue = self.trigger.getValue();
self.combo.element.removeClass("error"); self.combo.element.removeClass("error");
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_VALID); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_VALID);
} }

Loading…
Cancel
Save