Topic: Set Datepicker value manually - problem with label

Joachim Schneider priority asked 3 years ago

Expected behavior If i set the value of a empty datepicker field, it should update the value AND move the label to the top. Currently it only updates the value.

Example: $(#date-picker-input-field).val("2020-01-02");

Actual behavior enter image description here

Is there a workaround to move the label to the top?

Dawid Wajszczuk staff answered 3 years ago


Here is the snippet Everything works fine .

Keep coding,

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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.8.0
  • Device: Web
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No