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 //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