fix: primevue #5740, InputOtp: Able to paste otp in readonly and disabled modes
parent
358badd2eb
commit
3607d6e56d
|
@ -165,8 +165,8 @@ export default {
|
|||
}
|
||||
},
|
||||
onPaste(event) {
|
||||
if(this.readonly || this.disabled) {
|
||||
return
|
||||
if (this.readonly || this.disabled) {
|
||||
return;
|
||||
}
|
||||
let paste = event.clipboardData.getData('text');
|
||||
|
||||
|
|
Loading…
Reference in New Issue