Topic: How to implement Material input Filled Text style
etayatidsm-co-il priority asked 2 years ago
In MDB5 I want to use Material style Filled text (only bottom border)
I couldn't find any explanation in MDB5 Docs.
How can I do that?
Thanks
Filled Text Material
Michał Duszak staff answered 2 years ago
Hello, we stopped supporting Material style Filled text since MDB5. We decided to support Outline Input only.
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.10.2
- Device: Mobile
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No
demzl25 priority commented 2 years ago
You can add this CSS styling for Filled input from MDB4 to you project css file from the link below:https://github.com/mdbootstrap/material-design-for-bootstrap/blob/master/scss/free/_forms.scss
And add class "md-form" to form next to form Outline Input class and it should work. Here is the link to example:https://mdbootstrap.com/snippets/standard/d-wajszczuk/3669260#js-tab-view
etayatidsm-co-il priority commented 2 years ago
That's very helpful Thanks !