Skip to content

Commit

Permalink
[Input Number] Correctly compute inputNumberDisabled (ElemeFE#18439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuser-pendo authored and hzsrc committed Feb 2, 2023
1 parent 141e688 commit 12eabc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/input-number/src/input-number.vue
Expand Up @@ -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) {
Expand Down

0 comments on commit 12eabc7

Please sign in to comment.