Skip to content

CldUploadWidget has onResult as a required prop #254

@rytakei1

Description

@rytakei1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions