Topic: MDBFileInput className property does nothing

Mike.Thomson free asked 4 years ago

*Expected behavior*MDBFileInput - When using className = The className property should be visible when DOM is inpsected

*Actual behavior*It appears setting className does nothing. Inspection of the DOM reveals class is not set on input or any of its children. Styling the button is therefore difficult.

Resources (screenshots, code snippets etc.)

Jakub Chmura staff answered 4 years ago

HI @Mike.Thomson,

I checked this component and the className props works and it adds a custom class names to the text input field. But I see that we need to fix other class names. We try to fix this as soon as possible.

Best, Kuba

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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.26.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No