Merge pull request #5798 from qburst/fix--5792

fix: paste function bug in integerOnly mode
pull/5850/head
Tuğçe Küçükoğlu 2024-06-07 12:28:56 +03:00 committed by GitHub
commit aa998f9254
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);