MDBFileInput className property does nothing


Topic: MDBFileInput className property does nothing

Mike.Thomson asked 10 months 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 10 months 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.