when I set value to e.target.files[0] on formik
here is my code
Asked
Active
Viewed 29 times
-1
-
yea, you can't do that. You can only supply an empty string from the code, when dealing with file inputs. – Kevin B May 26 '22 at 15:52
-
Possibly related? https://stackoverflow.com/questions/56149756/reactjs-how-to-handle-image-file-upload-with-formik – Kevin B May 26 '22 at 15:56
-
Additionally, your code and error both should be text in your question. As images, they are inaccessible to users who can't view imgur images, and they can't be easily used to recreate your problem. – Kevin B May 26 '22 at 15:56