Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

dont convert to FileReader #10

Open
elhampour opened this issue Dec 13, 2017 · 4 comments
Open

dont convert to FileReader #10

elhampour opened this issue Dec 13, 2017 · 4 comments

Comments

@elhampour
Copy link

i want to upload the uploaded image to server, but your component convert it to base 64. can you help me ?

@joshuaai
Copy link
Contributor

This must have been fixed as currently, the onChange method returns the actual FileList, not the Base 64 version.

Hi @IvanLinos we can update the README to show how to convert the FileList that is returned by onChange to base 64 for those who want to do direct upload.

@ivnnv
Copy link
Collaborator

ivnnv commented Mar 31, 2018

@joshuaai feel free to make a PR ;)

@nguyenvanphuc2203
Copy link

how to convert filelist to base64 ?

@donalmurtagh
Copy link
Contributor

@JakeHartnell currently the component returns both the list of files and their base64 encoding, so I think this should be closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants