Fixed #33 - InputMask pressing enter

pull/41/head
mertsincan 2019-08-20 14:27:44 +03:00
parent 0a4ba52340
commit 133c348e3d
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ export default {
event.preventDefault();
} else if (k === 13) { // enter
$vm.onBlur(event);
$vm.$refs.input.blur();
$vm.updateModel(event);
} else if (k === 27) { // escape
$vm.$refs.input.value = $vm.focusText;