react-native-confirmation-code-input
react-native-confirmation-code-input copied to clipboard
A react-native component to input confirmation code for both Android and IOS
Updates import of `ViewPropTypes` from `deprecated-react-native-prop-types` to support RN0.69 and remove RN
I need OTPs to be automatically filled from the keyboard using the prop : ```textContentType="oneTimeCode"``` , but when i tried only one field gets filled by the prop. How to...
{ if (code.length === 6) { { this.setState({code},()=>{ console.log('codeotp',this.state.code); })}}}} autoFocusOnLoad={false} keyboardType="number-pad" codeInputFieldStyle={{ width: 32, height: 45, borderWidth: 2, alignSelf: 'center', borderRadius: 5, color: color.secondarycolor, }} codeInputHighlightStyle={{ borderColor: color.secondarycolor, }}...
I'm getting TypeError: undefined is not an object (evaluating 'this.codeInputRefs[t].focus')
Does this support expo web?
onCodeChange doesn't work for me
NPM package is not updated, the version 1.0.4 (the latest) does not include the callback `onCodeChange`
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...