Skip to content

Releases: devfolioco/react-otp-input

v2.2.0

20 Oct 19:18
Compare
Choose a tag to compare

✨ Improvements

  1. Add placeholder support. #119 @aromalanil
  2. Add aria-label to inputs. #129 @borntofrappe

💙 Thank you to the contributors

  1. (DEMO) Button disabled state. #156 @Binu42
  2. (README) Fix typo. #136 @Surajv311
  3. (README) Remove old commands. #197 @ShubhankarKG

v2.1.0

29 Sep 06:44
Compare
Choose a tag to compare

✨ Improvements

  1. Allow adding className to input container. #114

💙 Thank you to the contributors

@ctrlaltdylan

v2.0.2

03 Aug 18:08
Compare
Choose a tag to compare

🐛 Patches

  1. Bump elliptic from 6.4.1 to 6.5.3. #111
  2. Fix sample code + Update CodeSandbox URL. #112

v2.0.1

17 Jul 09:46
Compare
Choose a tag to compare

🐛 Patches

  1. Bump lodash. #108
  2. Bump webpack-cli, webpack-dev-server, and docz. #109

v2.0.0

06 Jul 18:10
Compare
Choose a tag to compare

💥 Breaking Changes

  1. onChange event now always returns a string value regardless of the value of isInputNum.
  2. 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

  1. Fix the inputs accepting +, - , e when isInputNum is true. #29, #50
  2. Fix inputs accepting characters in Firefox when isInputNum is true. #85
  3. Fix the leading zeros not being accepted by always providing string value of the input in onChange handler. #25, #30, #71, #81
  4. 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