Code Monkey home page Code Monkey logo

Comments (6)

rikschennink avatar rikschennink commented on May 19, 2024

@RjRana The files property expects an array, it looks like the this.getRemoteUrlForEditing is a reference to a function. Are you sure you shouldn't be running the function this.getRemoteUrlForEditing()?

:files should then point to the uploadedFile array.

from filepond.

power-cut avatar power-cut commented on May 19, 2024

@RjRana any work around on this ?

from filepond.

phiter avatar phiter commented on May 19, 2024

@rikschennink getRemoteUrlForEditing being a computed property, it should not be called as a function. In Vue, it becomes a normal object property.

I'm getting the same error 400 issue and I don't know how to solve it.

from filepond.

rikschennink avatar rikschennink commented on May 19, 2024

@phiter If it's a URL the URL is passed as a string to FilePond. Updating the URL afterwards doesn't update it in FilePond, you'd have to pass a new "array" of values to the :files property.

from filepond.

phiter avatar phiter commented on May 19, 2024

@rikschennink I tried using .addFile but I get "cannot load URL" error.
I had to use axios to fetch the image and convert it to blob to use addFile, then it worked, but now I have cors issues.

from filepond.

christopher4lis avatar christopher4lis commented on May 19, 2024

Don't think this should be closed, even on the referenced issue, the problem isn't fully solved. Multiple people are having issues loading images from S3, even with CORS options set.

Is there any solution to this with an exact solution in the docs?

from filepond.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.