Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

96
Views
How to programmatically remove the preview file of react-dropzone-uploader when submitting

I'm using react-dropzone-uploader along with formik. The user will then fill out fields and upload a photo. Rather than using react-dropzone-uploader's own onSubmit handler, I use formik, with a different button for submitting.

The problem is, I need the preview of react-dropzone-uploader to disappear after the user clicks on the submit button. I've used formik's built-in resetForm function, but the preview still persists after submission.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!