Merge pull request #5741 from qburst/master
fix: primevue #5740, InputOtp: Able to paste otp in readonly and disabled modespull/5758/head
commit
30f36fb775
|
@ -165,6 +165,9 @@ export default {
|
|||
}
|
||||
},
|
||||
onPaste(event) {
|
||||
if (this.readonly || this.disabled) {
|
||||
return;
|
||||
}
|
||||
let paste = event.clipboardData.getData('text');
|
||||
|
||||
if (paste.length) {
|
||||
|
|
Loading…
Reference in New Issue