PacemCharsInputElement is the ideal web component for one-time password (OTP) and verification code inputs.
PacemCharsInputElement can be autogenerated using proper ui hint (chars).
[ {"prop": "otp", "type": "float", "display": { "name": "OTP", "ui": "chars", "cssClass": ["field-outline", "field-minimal"] }, "extra": { "charCount": 6, "inputTransform": "uppercase" }, "validators": [{ "type": "regex", "errorMessage": "Invalid", "params": { "pattern": "^[0-9A-Z]{6}$" } }] } ]
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.