diff --git a/src/lib/index.jsx b/src/lib/index.jsx index 267671aa..ce5500e7 100644 --- a/src/lib/index.jsx +++ b/src/lib/index.jsx @@ -89,7 +89,7 @@ class SingleOtpInput extends PureComponent<*> { { className={this.getClasses( focus && focusStyle, isDisabled && disabledStyle, - hasErrored && errorStyle + hasErrored && errorStyle, + !isStyleObject(inputStyle) && inputStyle )} type={isInputNum ? 'number' : 'tel'} {...numValueLimits}