[Input Number] Correctly compute inputNumberDisabled (#18439)

This commit is contained in:
ashuser-pendo 2020-04-10 04:29:50 -04:00 committed by GitHub
parent 7122ddb9e5
commit 091f63ad78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
},
inputNumberDisabled() {
return this.disabled || (this.elForm || {}).disabled;
return this.disabled || !!(this.elForm || {}).disabled;
},
displayValue() {
if (this.userInput !== null) {