-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Feature Request] v-otp-input: iOS/Android autofill #14801
Comments
https://web.dev/web-otp/ Can you tell me what events are triggered on iOS when a value is entered with this enabled? (just on a |
Thanks for the links, found out we probably send the SMS in wrong format - will fix that and let you know. I'll keep this issue updated when I manage to achieve progress in any of the points given. |
Update for the SMS format: it kinda worked - iOS asked to fill the input with the code from the message, but when doing so, the second "segment" input is focused instead of the |
When you do this with a plain |
With basic |
In Safari 15.4 (iOS 15.4) So when the code is
While Android Chrome and iOS Chrome/Firefox (which we tested) are only emitting the first |
Problem to solve
Quality-of-life improvement of using this component on pages in mobile browsers. When there is some kind of one-time-passcode verification over SMS, iPhone and Android have some kind of functionality to paste code from the SMS.
Proposed solution
Usually this is done with html input attribute
autocomplete="one-time-code"
The text was updated successfully, but these errors were encountered: