Topic: MDB Pro - Date Picker - Ajax rendering

paulrhanson free asked 4 years ago


**Expected behavior**Date picker input to display date value if input value already exists**Actual behavior**When I render the form containing the datepicker inputs with ajax (main page already loaded), the date value is present, but the label is displayed on top of the value as if the value is not present. If tapped (gets focus), it displays as it should. Upon completion of rendering the for with ajax, $('.datepicker').pickadate() is executed.**Resources (screenshots, code snippets etc.)**


pavan_kp free commented 4 years ago

Even i have the same problem. What should we do to fix this issue.

If we have default value for the input / datepicker. The "label" should be displayed on top of the value as if the value is not present.


Mateusz Łubianka staff commented 4 years ago

Hi,

I can't see your Resources (screenshots, code snippets etc.) please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.

Best,



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: MacBook
  • Browser: Chrome
  • OS: OSX
  • Provided sample code: No
  • Provided link: No