Skip to content

Commit

Permalink
[Input Number] Correctly compute inputNumberDisabled (#18439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuser-pendo committed Apr 10, 2020
1 parent 7122ddb commit 091f63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/input-number/src/input-number.vue
Original file line number Diff line number Diff line change
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 091f63a

Please sign in to comment.