Skip to content

Commit

Permalink
Fixed #564 - InputNumber with spinner mode throws a JS exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Oct 14, 2020
1 parent 37f213b commit 86b63a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/inputnumber/InputNumber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,8 @@ export default {
return value;
},
updateInput(value, insertedValueStr, operation) {
insertedValueStr = insertedValueStr || '';
let inputValue = this.$refs.input.$el.value;
let newValue = this.formatValue(value);
let currentLength = inputValue.length;
Expand Down

0 comments on commit 86b63a9

Please sign in to comment.