Skip to content

Commit 9c33981

Browse files
committed
[TOOL-3396] Dashboard: Fix inputMode for OTP input, Use text instead of default numeric (#6238)
1 parent c645b42 commit 9c33981

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/dashboard/src/app/account/settings/AccountSettingsPageUI.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ function EnterEmailOTP(props: {
428428
<InputOTP
429429
maxLength={6}
430430
pattern={REGEXP_ONLY_DIGITS_AND_CHARS}
431+
inputMode="text"
431432
value={otp}
432433
onChange={(v) => {
433434
setOtp(v);

apps/dashboard/src/app/login/onboarding/ConfirmEmail.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export const OnboardingConfirmEmail: React.FC<OnboardingConfirmEmailProps> = ({
206206
<InputOTP
207207
maxLength={6}
208208
pattern={REGEXP_ONLY_DIGITS_AND_CHARS}
209+
inputMode="text"
209210
value={token}
210211
onChange={handleChange}
211212
disabled={saving}

0 commit comments

Comments
 (0)