nuxt-modules / nuxt-modules/cloudinary
CldUploadWidget has onResult as a required prop
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 252
- Forks
- 36
- Avg merge
- 22m
- Merged PRs (30d)
- 1
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CldUploadWidget entry point and inspect how onResult is declared and how eventProps are documented. Reproduce the missing-prop error without @result, then compare onResult with onSuccess. Done means the prop requirement and documented event behavior agree and the upload callback behavior is covered by the project's checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100