pull/682/head
mertsincan 2020-11-26 10:18:32 +03:00
parent 427f53f905
commit bddfb413ba
1 changed files with 4 additions and 4 deletions

View File

@ -411,10 +411,10 @@ export default {
//enter
case 13:
let newValue = this.validateValue(this.parseValue(this.$refs.input.$el.value));
this.$refs.input.$el.value = this.formatValue(newValue);
this.$refs.input.$el.setAttribute('aria-valuenow', newValue);
this.updateModel(event, newValue);
newValueStr = this.validateValue(this.parseValue(inputValue));
this.$refs.input.$el.value = this.formatValue(newValueStr);
this.$refs.input.$el.setAttribute('aria-valuenow', newValueStr);
this.updateModel(event, newValueStr);
break;
//backspace