© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Onclick() on uploadthing - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
2y ago
•
6 replies
notash
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
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
Jump to solution
Theo's Typesafe Cult
Join
27,305
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
upload on onClick()
TTC
Theo's Typesafe Cult / questions
2y ago
Uploadthing on sveltekit
TTC
Theo's Typesafe Cult / questions
3y ago
TRPC onClick
TTC
Theo's Typesafe Cult / questions
3y ago
UploadThingError: Failed to parse response from UploadThing server
TTC
Theo's Typesafe Cult / questions
13mo ago