Merge pull request #5741 from qburst/master

fix: primevue #5740, InputOtp: Able to paste otp in readonly and disabled modes
pull/5758/head
Tuğçe Küçükoğlu 2024-05-16 13:40:12 +03:00 committed by GitHub
commit 30f36fb775
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ export default {
}
},
onPaste(event) {
if (this.readonly || this.disabled) {
return;
}
let paste = event.clipboardData.getData('text');
if (paste.length) {