diff --git a/components/lib/inputotp/InputOtp.vue b/components/lib/inputotp/InputOtp.vue index 342ca421b..95a046b01 100755 --- a/components/lib/inputotp/InputOtp.vue +++ b/components/lib/inputotp/InputOtp.vue @@ -165,6 +165,9 @@ export default { } }, onPaste(event) { + if (this.readonly || this.disabled) { + return; + } let paste = event.clipboardData.getData('text'); if (paste.length) {