Skip to content

Commit

Permalink
Make input type as text for OTP
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik committed Mar 31, 2024
1 parent 9f6398e commit b040bb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/auth/signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default function Home() {
className="w-[300px]"
maxLength={5}
pattern={REGEXP_ONLY_DIGITS_AND_CHARS}
inputMode="text"
{...field}
>
<InputOTPGroup>
Expand Down

0 comments on commit b040bb4

Please sign in to comment.