diff --git a/packages/input-otp/src/input.tsx b/packages/input-otp/src/input.tsx index db196d7..1924af6 100644 --- a/packages/input-otp/src/input.tsx +++ b/packages/input-otp/src/input.tsx @@ -2,7 +2,6 @@ import * as React from 'react' -import { REGEXP_ONLY_DIGITS } from './regexp' import { syncTimeouts } from './sync-timeouts' import { OTPInputProps, RenderProps } from './types' import { usePrevious } from './use-previous' @@ -19,7 +18,7 @@ export const OTPInput = React.forwardRef( onChange: uncheckedOnChange, maxLength, textAlign = 'left', - pattern = REGEXP_ONLY_DIGITS, + pattern, placeholder, inputMode = 'numeric', onComplete,