Preview file in FileDroper widget

0
i am using file dropper widget to attach the documents , the issue is i don't want show the preview  (Attached documents), how to disable this functionality
asked
3 answers
2

Hi Prashant,

 

image.png

 

Go Make It

answered
2

Hello Prashant,

Try with show preview file dropper property option.

If require you can use CSS option also to hide that part.

image.png

answered
1

Unless you have another way of showing to the user which files are uploaded, please don't hide the attached files to ensure the user can verify/confirm that they've uploaded (all of) the correct file(s).

 

To answer your question: I believe there is an option in the FileDropper widget. If I'm not mistaken, if you disable the auto-upload when dropping/selecting files, it will not show the preview, because the files cannot be shown as they're not on the server yet. This will not trigger any on-commit events that can be configured within the widget as well, though. 

Alternatively, you can hide the elements with CSS. Just hide the wrapper elements that holds all child elements containing the preview.

answered