Merge pull request #36 from navedqb/fix--5792

fix: paste function bug in integerOnly mode
pull/5798/head
navedqb 2024-05-29 10:31:43 +05:30 committed by GitHub
commit eea26fd823
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ export default {
this.$emit('blur', event); this.$emit('blur', event);
}, },
onKeyDown(event) { onKeyDown(event) {
if (event.ctrlKey || event.metaKey) {
return;
}
switch (event.code) { switch (event.code) {
case 'ArrowLeft': case 'ArrowLeft':
this.moveToPrev(event); this.moveToPrev(event);