Topic: Some buttons have not uppercase style
<button></button>the title has an uppercase style. If I use
<input type="button">there is no uppercase style. The same is in demo page, too. https://mdbootstrap.com/components/buttons/#button-tags Is it right?
Roman pro premium priority answered 5 years ago
Now it works as expected. Both versions
<button></button>
<input type="button">
are uppercased.
Piotr Glejzer staff answered 6 years ago
Roman pro premium priority answered 6 years ago
<input type="button">there isn't uppercase style. And this is what seems to be strange for me. As I wrote you can check it at https://mdbootstrap.com/components/buttons/#button-tags
Piotr Glejzer staff commented 6 years ago
Yes is alright. The main reason is why inputs had lowercase is that inputs had a parent . I can explain this to you. We have waves.js and If we want correctly working waves with inputs we need some element in inside which will be animated. With and (it mostly waves is added here) is not a problem but if we want using inputs is a problem because tag is a self closing tag so creator's of waves they had an idea to use tag which according to them will be shortcut from tag () and thanks to this, waves can work with input and this is not a problem for now. Is everything clear? If you have more question let me know! Have a nice day.
Piotr Glejzer staff answered 6 years ago
Roman pro premium priority answered 6 years ago
Piotr Glejzer staff commented 6 years ago
Your welcome. I don't say this is a good solution but for now, we don't have any another solution for this. If we will have something better we will implement as soon as possible! Have a nice day!FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: 4.5.9
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: Yes
- Provided link: Yes