[Feature]: Component for one-time-code input
iOvergaard opened this issue · 1 comments
iOvergaard commented
Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.
1.8.0
Summary
I would like a component that helps you input a code you might have received in an SMS or an authenticator app. The amount of digits should be configurable. It should support the autocomplete="one-time-code"
attribute. It could also potentially support the autocomplete="webauthn"
attribute (source).
Ideas
Something like this would be nice, where you can decide how many digits you want to receive:
Sourcebjarnef commented
I was thinking of this recently as I am currently working on a project using PrimeVue: https://primevue.org/inputotp/
Some features that could be useful:
- Masking
- Digits only
Besides that when it comes to 2FA/MFA a QR Code component could be useful.