devfolioco / react-otp-input

:heavy_check_mark: OTP Input Component for React

Home Page:http://devfolioco.github.io/react-otp-input

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In ios , i cant see value entered in otp box but same code works on android

shubham-khatod opened this issue · comments

  • Describe the Feature Request

  • Describe Preferred Solution

-} hasErrored={this.state.isIncorrectOtp} errorStyle='otp-input-error' />
![Simulator Screen Shot - iPhone 14 - 2023-09-30 at 11 18 44](https://github.com/devfolioco/react-otp-input/assets/123664838/531c6e02-77e8-460a-879d-9c8255679dff)
-} hasErrored={this.state.isIncorrectOtp} errorStyle='otp-input-error' />

@shubham-khatod Can you upgrade to the latest version please, we don't have errorStyle etc. attributes anymore because the library no longer controls the input, you can add error styles directly to the input now