|
|
@ -144,7 +144,7 @@ export class Input extends Single { |
|
|
|
_blur() { |
|
|
|
_blur() { |
|
|
|
const blur = () => { |
|
|
|
const blur = () => { |
|
|
|
if (!this.isValid() && this.options.quitChecker.apply(this, [trim(this.getValue())]) !== false) { |
|
|
|
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._checkValidationOnValueChange(); |
|
|
|
this._defaultState(); |
|
|
|
this._defaultState(); |
|
|
|
} |
|
|
|
} |
|
|
|