We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Widget (version 1) fails to display the previously uploaded file (photo). In the browser console I get the error message saying "Uncaught TypeError: uploaderCtx.addFileFromCdnUrl is not a function". https://github.com/uploadcare/pyuploadcare/blob/v6.0.0/pyuploadcare/dj/templates/uploadcare/forms/widgets/file.html#L12 seems to cause this error.
If there are previously uploaded files/photos, they should be correctly added to the widget on load.
UPLOADCARE = { "pub_key": uploadcare_pub_key, "secret": uploadcare_secret, "widget": { "version": "1", "variant": "regular", "build": "min", }, }
The text was updated successfully, but these errors were encountered:
#300 fixed getting public api in the file uploader
960405e
No branches or pull requests
Describe the bug
Widget (version 1) fails to display the previously uploaded file (photo). In the browser console I get the error message saying "Uncaught TypeError: uploaderCtx.addFileFromCdnUrl is not a function". https://github.com/uploadcare/pyuploadcare/blob/v6.0.0/pyuploadcare/dj/templates/uploadcare/forms/widgets/file.html#L12 seems to cause this error.
Expected behavior
If there are previously uploaded files/photos, they should be correctly added to the widget on load.
Code / screenshots
Environment
The text was updated successfully, but these errors were encountered: