diff --git a/packages/primevue/src/inputotp/BaseInputOtp.vue b/packages/primevue/src/inputotp/BaseInputOtp.vue index 390b7b897..38a6c6468 100644 --- a/packages/primevue/src/inputotp/BaseInputOtp.vue +++ b/packages/primevue/src/inputotp/BaseInputOtp.vue @@ -8,7 +8,7 @@ export default { props: { modelValue: { type: null, - default: false + default: null }, invalid: { type: Boolean, diff --git a/packages/primevue/src/inputotp/InputOtp.d.ts b/packages/primevue/src/inputotp/InputOtp.d.ts index 8443ee0a1..f7d39d8a1 100755 --- a/packages/primevue/src/inputotp/InputOtp.d.ts +++ b/packages/primevue/src/inputotp/InputOtp.d.ts @@ -140,7 +140,7 @@ export interface InputOtpTemplateEvents { export interface InputOtpProps { /** * Specifies whether a inputotp should be checked or not. - * @defaultValue false + * @defaultValue null */ modelValue?: boolean | string | undefined; /**