Topic: Date input transparent value
Lubos free asked 4 years ago
Expected behavior Date input value is visible.
Actual behavior Date input with value does not show the value, but suddenly shows value when user click on the input field. Class color: RGB... is applied and value is visible. I can force the value to be visible when input is displayed to user by applying class black-text but that may not be used in some other scenarios.
Resources (screenshots, code snippets etc.)
Grzegorz Bujański staff answered 4 years ago
Hi.
Unfortunately, at the moment I cannot say when it will be fixed. But I can suggest a workaround like this:
$(document).ready (() => {
$('input').val("2020-12-20").css({color: "inherit"});
$('label').addClass('active');
})
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.1
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 4 years ago
Hi. This bug has already been reported to us. We'll fix it.
Lubos free commented 4 years ago
Hello Grzegorz,
we are about to start project UAT, please when will this bug be fixed? Need to close this.
Thank you.