Browse Source

Pull request #2297: BI-96744 fix: 快速修改编辑框值blur比keydown先处理

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '632afaf0f9559a5897b8f2cd7bee786463ae1ad6':
  BI-96744 fix: 快速修改编辑框值blur比keydown先处理
es6
windy 3 years ago
parent
commit
904bfc79fc
  1. 5
      src/base/single/input/input.js

5
src/base/single/input/input.js

@ -33,10 +33,7 @@ BI.Input = BI.inherit(BI.Single, {
"leading": true, "leading": true,
"trailing": false "trailing": false
}); });
this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME, { this._blurDebounce = BI.debounce(BI.bind(this._blur, this), BI.EVENT_RESPONSE_TIME);
"leading": true,
"trailing": false
});
this.element this.element
.keydown(function (e) { .keydown(function (e) {
inputEventValid = false; inputEventValid = false;

Loading…
Cancel
Save