Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

DEVGASA priority asked 1 year ago


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

https://mdbootstrap.com/docs/angular/plugins/file-upload/#docsTabsAPI

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

it's possible ?enter image description here


Rafał Seifert free answered 1 year 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 1 year ago

Thank you @Rafał Seifert



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

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