Fixed #33 - InputMask pressing enter
parent
0a4ba52340
commit
133c348e3d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue