Upload file drag and drop

Hi, hope you are well. If one of my fields is a file in a schema, is there any easy way to just drag and drop an image in gadget so that I can use it?
1 Reply
Chocci_Milk
Chocci_Milk4w ago
Hello, There's no way to drag and drop and image into the field in the data viewer. You will have to run an upload via API. One quick way of doing so would be to make use of the AutoForm AutoFileInput https://docs.gadget.dev/reference/react/auto#autofileinput-

Did you find this page helpful?