mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
InputMask: Paste issue solved (#4363)
* Inputmask paste issue solved * Log removed
This commit is contained in:
parent
88ac7e28f6
commit
b867022473
1 changed files with 3 additions and 1 deletions
|
@ -380,7 +380,9 @@ export default {
|
||||||
return this.partialPosition ? i : this.firstNonMaskPos;
|
return this.partialPosition ? i : this.firstNonMaskPos;
|
||||||
},
|
},
|
||||||
handleInputChange(event) {
|
handleInputChange(event) {
|
||||||
if (this.readonly) {
|
const isPasteEvent = event.type === 'paste';
|
||||||
|
|
||||||
|
if (this.readonly || isPasteEvent) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue