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

ming priority asked 3 years ago


Expected behavior The remove button should not be present

Actual behavior The remove button is present

Resources (screenshots, code snippets etc.) https://mdbootstrap.com/snippets/standard/ming/3276521


Dawid Wajszczuk staff answered 3 years ago


Hi,

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

Keep coding,
Dawid


ming priority commented 3 years ago

Hi there,

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


Dawid Wajszczuk staff commented 3 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 https://mdbootstrap.com/snippets/standard/d-wajszczuk/3294981#css-tab-view.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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