fix: primevue #5740, InputOtp: Able to paste otp in readonly and disabled modes

pull/5741/head
ANTONA09 2024-05-15 13:20:25 +05:30
parent 358badd2eb
commit 3607d6e56d
1 changed files with 2 additions and 2 deletions

View File

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