InputMask: Paste issue solved (#4363)

* Inputmask paste issue solved

* Log removed
This commit is contained in:
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

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