Component changelog
OTPField changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention OTPField.
Release
v1.2.0
Minor Changes
-
befc825: OTPField takes
mask,normalizeValue,onValueInvalid,inputMode,autoCompleteandform, and gainsOTPField.Separator. ArequiredOTPField now blocks form submission until every slot is filled. -
07e6783: Add OTPField for one-time codes: a group of single-character inputs that fill left to right. Typing moves forward, Backspace moves back, arrows, Home and End move between slots, and pasting or SMS autofill (
autocomplete="one-time-code") spreads a full code across them.validationTypelimits characters (numeric by default),type="password"masks them,onValueCompletefires once every slot is filled,autoSubmitsubmits the form, andnamesubmits the code through a hidden input.