Onclick() on uploadthing
is there any way that when i upload the image, it wait for a onclick() and then uploads to the uploadthing database? cause it's annoying when you realize that you made worong uplaod
Solution:Jump to solution
https://docs.uploadthing.com/api-reference/react#useuploadthing
Here are the docs for it with an example of using a plain old html file input, and you can then implement your own component...
React – uploadthing
Docs for the best file uploader to date
4 Replies
please someone help me
Just create your own upload button/dropezone component, what you're asking for is totally client side logic
like use the uploadthing hook?
Solution
https://docs.uploadthing.com/api-reference/react#useuploadthing
Here are the docs for it with an example of using a plain old html file input, and you can then implement your own component
React – uploadthing
Docs for the best file uploader to date