Refactor #675
parent
427f53f905
commit
bddfb413ba
|
@ -411,10 +411,10 @@ export default {
|
||||||
|
|
||||||
//enter
|
//enter
|
||||||
case 13:
|
case 13:
|
||||||
let newValue = this.validateValue(this.parseValue(this.$refs.input.$el.value));
|
newValueStr = this.validateValue(this.parseValue(inputValue));
|
||||||
this.$refs.input.$el.value = this.formatValue(newValue);
|
this.$refs.input.$el.value = this.formatValue(newValueStr);
|
||||||
this.$refs.input.$el.setAttribute('aria-valuenow', newValue);
|
this.$refs.input.$el.setAttribute('aria-valuenow', newValueStr);
|
||||||
this.updateModel(event, newValue);
|
this.updateModel(event, newValueStr);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//backspace
|
//backspace
|
||||||
|
|
Loading…
Reference in New Issue