MDB Pro - Date Picker - Ajax rendering


Topic: MDB Pro - Date Picker - Ajax rendering

paulrhanson asked 5 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 commented 5 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 5 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

Open

Specification of the issue
  • User: 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
Tags