Browse Source

JSY-31395

research/test
fay 1 year ago
parent
commit
7f22f4e32c
  1. 2
      packages/fineui/src/base/single/input/input.js

2
packages/fineui/src/base/single/input/input.js

@ -144,7 +144,7 @@ export class Input extends Single {
_blur() {
const blur = () => {
if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) {
this.element.val(this._lastValidValue ? this._lastValidValue : "");
this.element.val(this._lastValidValue ?? this.options.value ?? "");
this._checkValidationOnValueChange();
this._defaultState();
}

Loading…
Cancel
Save