Topic: data-mdb-disabled-remove-btn stopped working if data-mdb-default-file is present

ming priority asked 2 years ago

Expected behavior The remove button should not be present

Actual behavior The remove button is present

Resources (screenshots, code snippets etc.)

Dawid Wajszczuk staff answered 2 years ago


Thanks for reporting this. We will take a closer look at this case and see what we can do about it.

Keep coding,

ming priority commented 2 years ago

Hi there,

Any updates on this issue? I just want the remove button to be gone :P

Dawid Wajszczuk staff commented 2 years ago

Hi. We have had no time to solve this issue yet. But if you want to just remove this button, add this CSS code to your project:

.file-upload-remove-file-btn {
      display: none;

Here is the snippet

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 Standard
  • MDB Version: MDB5 3.8.1
  • Device: iMac
  • Browser: Chrome
  • OS: Mac OS
  • Provided sample code: No
  • Provided link: Yes