Skip to content

Commit 97135fc

Browse files
Set inputmode="text" by default to otpInput field (#1056)
* Set inputmode="text" by default to otpInput field * remove comment for screenshot * Apply suggestion from @kentcdodds --------- Co-authored-by: Kent C. Dodds <[email protected]>
1 parent dafaa96 commit 97135fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/ui/input-otp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const InputOTP = ({
99
...props
1010
}: React.ComponentProps<typeof OTPInput>) => (
1111
<OTPInput
12+
inputMode="text"
1213
data-slot="input-otp"
1314
containerClassName={cn(
1415
'flex items-center gap-2 has-disabled:opacity-50',

0 commit comments

Comments
 (0)