Fixed #532 - InputNumber with spinner mode throws a JS exception
parent
f010b971de
commit
5ce105335c
|
@ -659,6 +659,8 @@ export default {
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
updateInput(value, insertedValueStr, operation) {
|
updateInput(value, insertedValueStr, operation) {
|
||||||
|
insertedValueStr = insertedValueStr || '';
|
||||||
|
|
||||||
let inputValue = this.$refs.input.$el.value;
|
let inputValue = this.$refs.input.$el.value;
|
||||||
let newValue = this.formatValue(value);
|
let newValue = this.formatValue(value);
|
||||||
let currentLength = inputValue.length;
|
let currentLength = inputValue.length;
|
||||||
|
|
Loading…
Reference in New Issue