Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dropzone input field method? #201

Closed
colegeissinger opened this issue Jul 25, 2016 · 2 comments
Closed

Update Dropzone input field method? #201

colegeissinger opened this issue Jul 25, 2016 · 2 comments

Comments

@colegeissinger
Copy link

I'm utilizing React Cropper with Dropzone and I have everything wired up so it is working except one part.

I need to be able to update the input field that contains my image (I'm only supporting a single image instead of multiple). Can anyone provide some more clarifications if this is possible with this component?

I have cropper returning a new Blob that matches the same format that Dropzone creates, but I don't see any clear paths to updating the input field. I would assume a method that would allow me to programmatically add a new file or perhaps the trick is within inputProps? I'm just not clear how to utilize inputProps if that is the key.

@anorudes
Copy link

+1

@okonet
Copy link
Collaborator

okonet commented Aug 18, 2016

I don't think you can do that. Instead, write your custom upload for the blob you get.

@okonet okonet closed this as completed Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants