Created
March 30, 2020 16:15
-
-
Save cybercris/3d1d28aff672d7d2906fc84825b3847c to your computer and use it in GitHub Desktop.
handlechange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function handleChange(e) { | |
setState({ optionalObject: { otherData: e.target.value } }); | |
formik.setFieldValue("otherData", e.target.value); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment