chungchunwang / Budibase-File-Upload

Upload files in your Budibase app!
MIT License
22 stars 11 forks source link

Disable file preview #19

Closed IvanDrag0 closed 2 months ago

IvanDrag0 commented 2 months ago

Is there a way to disable file preview in the component? It works great with an image, but with any other file, I just get a big block that says that the preview is not supported.

image

chungchunwang commented 2 months ago

Hi! You could try using the 1.1.9 release, which does not have file preview.

I might push an update that minimizes the box when there is no preview, I can't confirm when I can do that though.

If you can work with the source code, feel free to make a pull request that adds this!

IvanDrag0 commented 2 months ago

Thank you for the quick response!