MDBFileInput className property does nothing


Topic: MDBFileInput className property does nothing

Mike.Thomson asked 5 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 premium answered 5 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.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: 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