Skip to content

[Bug] The method getFileEncodeDataURL() stopped working. #944

Open
@jeanjoaquim

Description

@jeanjoaquim

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated FilePond and its plugins?

  • I have updated FilePond and its plugins

Describe the bug

Three days ago the code below was working properly, today for some reason I'm getting this error: "pond.getFile(...).getFileEncodeDataURL is not a function" and I can't find the method anywhere as I used to.

Did something changed in the past few days? Or am I doing something wrong and it just happened to work for some reason?

Reproduction

const  pond = FilePond.find(document.querySelector(".filepond--root"));

for (i = 0; i <= (pond.getFiles().length - 1); i++) {
const myImage = document.createElement("img");
myImage.src = pond.getFile(i).getFileEncodeDataURL();
}

Environment

- Device:
- OS:
- Browser:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions