Skip to content

Conversation

@Tony-Truand
Copy link
Contributor

@Tony-Truand Tony-Truand commented Nov 1, 2025

On mobile device (onePlus 9 - Running chrome)
The keyboard provided during OTP is numeric only.
But the Otp can contain alphanumeric caracters

Solution: default html attr inputmode to "text" on the Otp input

Before

before

After

after


Note

Set OTP input’s default inputMode to text to support alphanumeric entry (improves mobile keyboard behavior).

Written by Cursor Bugbot for commit e1f2bfc. This will update automatically on new commits. Configure here.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kentcdodds kentcdodds merged commit 97135fc into epicweb-dev:main Nov 3, 2025
1 check passed
@Tony-Truand Tony-Truand deleted the fix-otp-numeric-only-keyboard-on-mobile branch November 3, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants