CldUploadWidget has onResult as a required prop
Version
@nuxtjs/cloudinary "^4.0.0" nuxt: "^3.16.1"
Steps to reproduce
Add CldUploadWidget without @result and Nuxt will display an error that it's missing a necessary prop
What is Expected?
onResult is not in eventProps in the docs: https://cloudinary.nuxtjs.org/components/clduploadwidget and seems inconsistent at times for me (sometimes the callback is not called after uploading). onSuccess seems to work more reliably, so maybe we could change this one to required?
Hey,
Thanks for opening that bug report but I am not sure how you are getting this error about missing a necessary prop. https://x.com/cloudinary/status/1907396530425790613 -> Here is the video I recently recorded for Cloudinary about the Nuxt module and the error is not there.
Would you be able to provide more details about your code sample (maybe a reproduction link in stackblitz where the problem occurs)?
It can be related to the fact that some time ago we have changed the way of registering types to the third party package so maybe the types have changed there?