Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve confirm code input UX for easier typing #22

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Improve confirm code input UX for easier typing #22

merged 2 commits into from
Feb 1, 2024

Conversation

datlechin
Copy link
Contributor

Improve user experience when typing confirm code by using inputmode="numeric to ensure the number keyboard layout is shown

  • Numeric keypad on mobile: Convenient code entry with inputmode="numeric".
  • Prevent typos: Accurate input with pattern="[0-9]*".
  • Potential autocomplete: Streamlined logins with autocomplete="one-time-code".

Copy link
Owner

@imorland imorland left a comment

Choose a reason for hiding this comment

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

Thank you for this! :)

@imorland imorland merged commit 6e24051 into imorland:master Feb 1, 2024
13 checks passed
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