Skip to content

How to get the file blob #32

@iron2414

Description

@iron2414

How do i get the file's blob once i submit the form?
I have a form with a few fields, and used console log on the submitted form.

image

As you can see, at the "form.value.pdf" there are the files, however it has no "file" attribute like shown in the example
(const formData = new FormData();
formData.append('file', file.file, file.file.name);
And there are a few meta-data but no blob content for me. How do i get that?

My relevant html look like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions