Releases: ritikbanger/react18-input-otp
Releases · ritikbanger/react18-input-otp
Minor release v1.1.1
What's Changed
- Bug Fix: Value update for current index and backspace fix in #14
- Bug Fix: If the input field is empty, the cursor now moves to the previous input when Backspace is pressed.
- Bug Fix: If the input field is not empty, the cursor erases the value present in the input field and stays on it.
- Improved peer dependencies within the range of react v16.2 to v18
Full Changelog: V1.1.0...V1.1.1
V1.1.0 Production Release
Features
- A fully customisable OTP input package with support of React 18 and Typescript.
- It works great on both react and ionic app. Works like a charm on mobile too.
- You can specify only numeric inputs with inputNum prop.
- Works perfectly with clipboard paste feature on web and mobile.
- The only OTP input package on npm that supports 'enter' key to submit.
- Zero OTP paste issues on Android.
- Easy paste on iOS chrome, read from SMS feature.
- Supports onSubmit optional prop. You do not even need a button to submit.
- You can use this package for phone number inputs too.
- You can use this package for passcode fields too with inputSecure prop.
- You can provide custom css as well as input props to the React18-input-otp.
- 0 dependencies.
- Minzipped size only 3.6 kb.
- No open issues.
- No security bugs.