From b8670224731bc79a65f4c469d1fa0d900369d435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r?= <45143524+bahadirsofuoglu@users.noreply.github.com> Date: Tue, 5 Sep 2023 04:58:38 +0300 Subject: [PATCH] InputMask: Paste issue solved (#4363) * Inputmask paste issue solved * Log removed --- components/lib/inputmask/InputMask.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/lib/inputmask/InputMask.vue b/components/lib/inputmask/InputMask.vue index 80e43c6e2..3c3f670b1 100755 --- a/components/lib/inputmask/InputMask.vue +++ b/components/lib/inputmask/InputMask.vue @@ -380,7 +380,9 @@ export default { return this.partialPosition ? i : this.firstNonMaskPos; }, handleInputChange(event) { - if (this.readonly) { + const isPasteEvent = event.type === 'paste'; + + if (this.readonly || isPasteEvent) { return; }