Releases: drac94/react-auth-code-input
Releases · drac94/react-auth-code-input
v3.0.0
- Change the way the allowed characters are handled by using 3 predefined modes: alpha, alphanumeric, and numeric, allowing to have more control when validating the values introduced in the inputs.
- Improved logic.
- Improved tests.
- Improved types.
v2.1.0
- Support to fill one-time-codes directly from SMS.
- Displays numeric keyboard on mobile devices when the
inputType
prop is set to number
- Add
ariaLabel
prop for accessibility.
v2.0.0
- Remove
inputStyle
prop in favor of inputClassName
.
- Remove
containerStyle
prop in favor of containerClassName
.
- Remove
password
prop in favor of inputType
which accepts text, password or number value.
1.2.1
1.2.1
1.2.0
- Add
inputClassName
and containerClassName
props.
- Deprecate
inputStyle
and containerStyle
.
- Make
onChange
prop mandatory.
1.1.0
- Typescript support
- Add tests