InputMask: Paste issue solved (#4363)

* Inputmask paste issue solved

* Log removed
pull/4142/head
Bahadır 2023-09-05 04:58:38 +03:00 committed by GitHub
parent 88ac7e28f6
commit b867022473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}