I'm trying to upload a file using formik but the file object is always empty and I cannot quite figure it out. Here is a link to the codesandbox - https://codesandbox.io/s/formik-file-input-with-validation-forked-r5jqg?file=/src/App.js
I got this implementation from this issue filed on github - https://github.com/formium/formik/issues/926.
Your help would be greatly appreciated.