Browse Source

datetime valid触发时更新value

master
Austin.Duan 2 years ago
parent
commit
21e662b905
  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