Topic: Date input transparent value

Lubos free asked 3 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 commented 3 years ago

Hi. This bug has already been reported to us. We'll fix it.

Lubos free commented 3 years ago

Hello Grzegorz,

we are about to start project UAT, please when will this bug be fixed? Need to close this.

Thank you.

Grzegorz Bujański staff answered 3 years ago


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"});

Lubos free commented 3 years ago

Hi, thanks for the tip, works, Ďakujem.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • 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