Open mw3e21a opened 1 year ago
https://developer.mozilla.org/en-US/docs/Web/API/WebOTP_API
No response
The demo example does not work well. The one-time password is not being copied into the input field.
After sending the SMS and agreeing to copy the code, it should be automatically copied into the input field of the form.
I had some trouble using the linked example, could you provide steps to reproduce it so I can have a look?
Also tagging @rachelandrew who I think was the original author :)
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebOTP_API
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
The demo example does not work well. The one-time password is not being copied into the input field.
What did you expect to see?
After sending the SMS and agreeing to copy the code, it should be automatically copied into the input field of the form.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
* Folder: `en-us/web/api/webotp_api` * MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/WebOTP_API * GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/webotp_api/index.md * Last commit: https://github.com/mdn/content/commit/4f0f7386262363103a3e9cf482bb348d8570b331 * Document last modified: 2023-02-19T08:44:25.000Z