Topic: we can disabled the preview image in File upload component ?

DEVGASA priority asked 6 months ago

in the File upload component, we can disabled the preview image ?

We do not want the preview of the selected image to be shown.

it's possible ?enter image description here

Rafał Seifert staff answered 6 months ago

You can hide the element by implementing such css rule in your styles.scss file:

mdb-file-upload .file-upload-previews {
    display: none;

.file-upload-previews is an element that the preview is rendered in.

DEVGASA priority commented 6 months ago

Thank you @Rafał Seifert

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: Chrome 117.0.5938.63
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes