null is not an object (evaluating 'field.blur')
See original GitHub issueDescribe the bug Hi, i am using this module. But i am getting error null is not an object (evaluating ‘field.blur’) after filling the code inputs.
Code
<OTPInputView
autoFocusOnLoad
style={{ width: "100%", height: 100 }}
pinCount={4}
onCodeChanged={(code) => {
setCode(code);
}}
code={code}
codeInputFieldStyle={styles.underlineStyleBase}
codeInputHighlightStyle={styles.underlineStyleHighLighted}
onCodeFilled={(code) => {
Keyboard.dismiss()
// setCode(code);
}}
/>
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
null is not an object (evaluating '_this2.emailRef.current.focus ...
You need to make sure "this.emailRef.current" exists before calling focus(), since sometimes it takes time to create the reference.
Read more >How to Fix TypeError: Null is Not an Object in JavaScript
The JavaScript error TypeError: null is not an object occurs when a property is accessed or a method is called on a null...
Read more >TypeError: null is not an object (evaluating ... - Expo forums
Hello, i have upgraded my project to ExpoSDK 46. On the web everything works well, but when trying to run the project on...
Read more >TypeError: null is not an object (evaluating 'WebRTCModule ...
I'm building an React-native-app with openvidu, I've already went through the tutorial and even tested the demo, and made some changes to ...
Read more >Focus on the Next TextInput when Next Keyboard Button is ...
... request to move from one text input to another when that field is submitted. ... input returnKeyType , onSubmitEditing , and blurOnSubmit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you
https://tech.goibibo.com/building-otp-verification-component-in-react-native-with-auto-read-from-sms-2a9a400015b0
You can refer to this link