Commit 091f63ad authored by ashuser-pendo's avatar ashuser-pendo Committed by GitHub

[Input Number] Correctly compute inputNumberDisabled (#18439)

parent 7122ddb9
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
}, },
inputNumberDisabled() { inputNumberDisabled() {
return this.disabled || (this.elForm || {}).disabled; return this.disabled || !!(this.elForm || {}).disabled;
}, },
displayValue() { displayValue() {
if (this.userInput !== null) { if (this.userInput !== null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment