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

Show PIN code suggest on keyboard iOS #188

Closed
hieuhuynh93 opened this issue Nov 29, 2023 · 1 comment
Closed

Show PIN code suggest on keyboard iOS #188

hieuhuynh93 opened this issue Nov 29, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@hieuhuynh93
Copy link

Hi there,
Here is the guide, not the issue.

I'm using PIN input components to do the OTP Code feature for the user. I have implemented it for AdonisJS. While doing it, I found the solution to show the suggested PIN code on the keyboard on iOS, I didn't test it on Android, Can anyone using Android test it for me?

To do it, I added autocomplete="one-time-code" to the input, then changing type="text" to type="tel" to display the number keyboard only.

Here is result

On iOS
IMG_AA46E69C0F2F-1

on Safari macOS
moeSU092 -2023-11-28 at 22 51 05@2x

@jahaganiev jahaganiev added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 10, 2023
@jahaganiev
Copy link
Member

Hey @hieuhuynh93 - thanks for the suggestion. We've added to the docs autocomplete="one-time-code"

https://preline.co/docs/pin-input.html#show-pin-code-suggest-on-ios-keyboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants