You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I'm trying to upload my files to Cloudinary, which I managed to work using the documentation.
But I'm having some issues to display errors, the done function appears to only receive progress and url.
From the example provided you just throw an error (which is captured in the console), but not displayed anywhere.
I'd like to display the same errors when using the default uploader, like this:
Another detail, even though I disabled svgUpload, the input accept any type of image, which is not great for UX and I even need to check the type to upload or not...
It would be nice to have a way to pass to done the error like done({ error: 'bla' }) or at least capture the error itself to display on the input...
Hey guys, I'm trying to upload my files to Cloudinary, which I managed to work using the documentation.
But I'm having some issues to display errors, the
done
function appears to only receiveprogress
andurl
.From the example provided you just throw an error (which is captured in the console), but not displayed anywhere.
I'd like to display the same errors when using the default uploader, like this:
Another detail, even though I disabled svgUpload, the input accept any type of image, which is not great for UX and I even need to check the type to upload or not...
It would be nice to have a way to pass to
done
the error likedone({ error: 'bla' })
or at least capture the error itself to display on the input...cc @brunolemos
The text was updated successfully, but these errors were encountered: