By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Sometimes, directly using Form.Control of react-bootstrap instead of Field of formik also gives this issue. React Native android build failed. Find centralized, trusted content and collaborate around the technologies you use most. rev2022.11.3.43005. I am currently working on an app that uses formik to handle forms and will do an API request inside the onSubmit() function of formik. Core Values; Ethics and Code of Conduct; Live events and Discussions; Management Structure; Management Team; Risk and Governance; Thought Leadership How can I get a huge Saturn-like ringed moon in the sky? Asking for help, clarification, or responding to other answers. I imported Form from react-bootstrap instead of formik, so I was having this issue. Home; About Us. 23 alewis729, dancomanlive, oguennec, halecommarachel, F-xobj, peterdee, maryayi, nguyenhuykma96, tz185022, IlyaPushkarev, and 13 more reacted with thumbs up emoji 2 tz185022 and eatoncw reacted with rocket emoji All reactions It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. It was caused by the haul bundler, when you enable dugging mode. Thanks for posting this! Connect and share knowledge within a single location that is structured and easy to search. If you really have to use Form.Control you can use render prop. Replacing outdoor electrical box at end of conduit. Custom component should have name property and the order of the component should be the same as initialValues. Reason for use of accusative in this phrase? - sschwei1. I am using formik and react-native-formik to create form. How can I get a huge Saturn-like ringed moon in the sky? In my case, onSubmit was not working because I forgot to wrap my form in the <form></form> tag. Material UI. Asking for help, clarification, or responding to other answers. To learn more, see our tips on writing great answers. To learn more, see our tips on writing great answers. Saving for retirement starting at 68 years old. Stack Overflow for Teams is moving to its own domain! Using React & Formik, how can I trigger the Formik onSubmit from outside of the