Releases: devfolioco/react-otp-input
Releases · devfolioco/react-otp-input
v2.2.0
✨ Improvements
- Add placeholder support. #119 @aromalanil
- Add aria-label to inputs. #129 @borntofrappe
💙 Thank you to the contributors
- (DEMO) Button disabled state. #156 @Binu42
- (README) Fix typo. #136 @Surajv311
- (README) Remove old commands. #197 @ShubhankarKG
v2.1.0
v2.0.2
v2.0.1
v2.0.0
💥 Breaking Changes
onChange
event now always returns a string value regardless of the value ofisInputNum
.- We now show the default text keyboard instead of a keypad on mobile thereby allowing non-numeric characters to be entered into the fields.
🐛 Patches
- Fix the inputs accepting +, - , e when
isInputNum
is true. #29, #50 - Fix inputs accepting characters in Firefox when
isInputNum
is true. #85 - Fix the leading zeros not being accepted by always providing string value of the input in
onChange
handler. #25, #30, #71, #81 - Fix the numeric keypad being shown when
isInputNum
is false. #97
💙 Thank you to the contributors
@vinitshahdeo, @utkarsh22garg, @Parikshit-Hooda, @nikhilgupta30, @ferdox2, @dhruvmisra, @blenderskool, @vishalsureify, @vishalpolley, @saisrinivaspaila, @robintom, @pratik-276, @nestoralonso, @michizhou, @ghost, @kalpitjain0407, @anikethsaha, @anandprabhakar0507, @Rishabh510, @KieranAnalogRepublic, @joao-arvins, and @xitter