r5n-dev/react-native-otp-inputs

For those who are having issue regarding on autofill here's a solution

Closed this issue · 0 comments

when you use <OTPInputs />

Don't use this autofillFromClipboard={true}

just do it like this

<OtpInputs
                    handleChange={(code) => setCode(code)}
                    numberOfInputs={6} 
                    selectTextOnFocus={true}
                    borderWidth={2}
                    padding={5}
                    textAlign="center"
/>

and that will solve your issue