uploadcare / angular-uploadcare

Provides a directive for the Uploadcare widget.
MIT License
37 stars 16 forks source link

Remove button shows when uploading image not completed successfully. #17

Open dbrezoev opened 7 years ago

dbrezoev commented 7 years ago

When uploading a local file, and I press the Done button, before the file is processed fully. (The circle in the upper left corner is not complete), my ng-model property did not succeed to bind its value, but Remove button appears. I do not have the url but it acts like I do. So if it is not a bug, how can I disable the Done button until image is ready? Thanks in advance.

dmitry-mukhin commented 7 years ago

First, it seems that this is not the right repo for the question, you want to either file an issue at https://github.com/uploadcare/uploadcare-widget, or write to our support team.

Second, you don't want to disable done button, as upload happens in the background when dialog is closed. Done is clicked by a user when he decides that he picked all the files that he wanted.

Third, are you referring to "remove" when "clearable" is enabled?

dbrezoev commented 7 years ago

Yes I use remove when clearable is enabled. And sorry for the inconvenience you can delete this. Thanks for the quick response.

dmitry-mukhin commented 7 years ago

@Zmoki @homm what happens when user clicks remove button before files are uploaded?