Dropzone Button
Is it possible to disable the onClick functionality of the button inside of the UploadDropzone? I want to prevent the button being clicked so that I can control the callback of triggering the upload process in a different dependency.
I've looked in the documentation and could not find anything about it. It seems the only way to go about this is to wrap the dropzone functionality and design it in the way I want.
2 Replies
Yeah, we don't really expose a very robust way of changing the functionality of the dropzone currently.
We do have some plans for this, but right now, your best option is to use the
useUploadthing
hook as a basis for your own custom component.thank ya. that’s what i ended up doing.