Skip to content

Commit

Permalink
fixed otp mobile number pad
Browse files Browse the repository at this point in the history
  • Loading branch information
fomalhautb committed Jan 4, 2025
1 parent c1a2c9d commit b3d1dfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/stack/src/components/magic-link-sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ function OTP(props: {
<Typography className='mb-2' >{t('Enter the code from your email')}</Typography>
<InputOTP
maxLength={6}
type="text"
inputMode="text"
pattern={"^[a-zA-Z0-9]+$"}
value={otp}
onChange={value => setOtp(value.toUpperCase())}
Expand Down

0 comments on commit b3d1dfb

Please sign in to comment.