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

155
Views
Filepond auto trigger revert action for local files on form submit

I'm using Filepond in my project and its successfully working in upload and save case.

But in a scenario, where I've to retrieve all elements including uploaded files on separate page.

So, in that scenario, I send an json:

'source' => 1,
        'options' => [
            'type' => 'local',
            'file' => [
                'name' => 'abc',
                'size' => 100,
                'type' => 'image/...',
            ],
            'metadata' => [
                'poster' => 'file_path',
            ],
        ],

to ajax response and uploaded files are shown in filepond element, but while submitting the form (pre-populated files) Filepond automatically trigger the revert method and delete the uploaded files.

Regards

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!