bamlab / react-native-formik

Set of helpers to make form awesome with React Native and Formik
MIT License
398 stars 50 forks source link

handleTextInput() throws error when not wrapped in Formik component #141

Open dacre-denny opened 4 years ago

dacre-denny commented 4 years ago

I'm composing a TextInput component with handleTextInput(). I'd like to use the useFormik() hook to control form state, rather than a Formik wrapper component.

When rendering my composed component outside of a Formik component, the following error occurs:

image