Closed shubham-khatod closed 9 months ago
<div style={{ marginTop: "20px" }} className="center"> <OtpInput inputStyle='otp-input-style' value={this.state.otp} onChange={this.handleChange} numInputs={4} isInputNum={true} separator={-} hasErrored={this.state.isIncorrectOtp} errorStyle='otp-input-error' />
<div style={{ marginTop: "20px" }} className="center"> <OtpInput inputStyle='otp-input-style' value={this.state.otp} onChange={this.handleChange} numInputs={4} isInputNum={true} separator={-} 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
Describe the Feature Request
Describe Preferred Solution