From 732a20b919468c761dc27d4585a736afae6a3034 Mon Sep 17 00:00:00 2001 From: navedqb <109583873+navedqb@users.noreply.github.com> Date: Wed, 29 May 2024 10:30:44 +0530 Subject: [PATCH] fixes paste function issue in integerOnly --- components/lib/inputotp/InputOtp.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lib/inputotp/InputOtp.vue b/components/lib/inputotp/InputOtp.vue index cea4ace71..0ad950811 100755 --- a/components/lib/inputotp/InputOtp.vue +++ b/components/lib/inputotp/InputOtp.vue @@ -129,6 +129,10 @@ export default { this.$emit('blur', event); }, onKeyDown(event) { + if (event.ctrlKey || event.metaKey) { + return; + } + switch (event.code) { case 'ArrowLeft': this.moveToPrev(event);