Topic: MDB breaks date input display format
Robin Deprins
pro asked 10 months ago
According to the W3 specification date inputs need to be ISO 8601 formatted. The browser will then display its own datepicker and use the user's locale to show a correctly formatted date.
Example: https://jsfiddle.net/qg28ba4h/
But MDB breaks this functionality: https://mdbootstrap.com/snippets/jquery/robin_deprins/2157046
This seems to be due to a function "ChangeDateInputType" in MDB changing the input type to "text" when the input is not selected. Please don't change the default browser behavior, this should be hidden behind an MDB specific class.
Resolved
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: 4.19.0
- Device: dell
- Browser: chrome, edge and firefox
- OS: win 10
- Provided sample code: No
- Provided link: Yes
Tomek Makowski staff commented 10 months ago
Yes you're right. We have this issue already in our "to do" list and we will fix soon.