diff --git a/packages/vuetify/src/components/VOtpInput/VOtpInput.tsx b/packages/vuetify/src/components/VOtpInput/VOtpInput.tsx index f1b59a088df..fac9e739a33 100644 --- a/packages/vuetify/src/components/VOtpInput/VOtpInput.tsx +++ b/packages/vuetify/src/components/VOtpInput/VOtpInput.tsx @@ -166,7 +166,7 @@ export const VOtpInput = genericComponent()({ e.preventDefault() e.stopPropagation() - const clipboardText = e?.clipboardData?.getData('Text') ?? '' + const clipboardText = e?.clipboardData?.getData('Text').slice(0, length.value) ?? '' if (isValidNumber(clipboardText)) return