how to create an otp input field
Hi guys, I have no idea about how to create an otp input field like the image. Can anyone give me a hint? Thank you
1 Reply
one-time-code
is a valid value for the autocomplete
attribute. Additionally use more attributes like inputmode
, maxlength
, pattern
on demand. The rest really depends on the projects design and requirements – several articles and examples can be found by searching otp input field with your favorite search engine. Or maybe you are lucky and somebody else here has more time than me (: cheers