Topic: DatePicker not working / no errors

1Relation premium asked 8 months ago


Expected behavior

Using following code, a input with ability to pick a date, should be shown.

<div class="form-outline datepicker">
    <input type="text" class="form-control" id="exampleDatepicker1" />
    <label for="exampleDatepicker1" class="form-label">Select a date</label>
  </div>

Actual behavior

A input field, without any datepicker.

Resources (screenshots, code snippets etc.)

I have tried to install a fresh no project, without any succes does the datepicker show.


Kamila Pieńkowska staff answered 8 months ago


We've tried to recreate your issue in a plain MDB project, and there seems to be no issue with a fresh install.

If that's possible, please upload your code to a GitHub repository & share the link here or via support@mdbootstrap.com. We will audit the entire project, as long as it doesn't include any dependencies that could be in conflict with MDB.

Please note, that we can only help you, if the issue is in the package itself. If the issue is caused by an external dependency or custom code, this would be out of product support scope.

We can provide broader consulting, or a video session as a separate service. If you're interested, please reach out to services@mdbootstrap.com & describe your issue in detail.


1Relation premium commented 7 months ago

Hang on, let me upload and contact support.


Filip Kapusta premium commented 7 months ago

Hello,

Just making sure if you already sent the source code/link via email :)

We haven't received any messages regarding this issue yet, could you please let me know if you've contacted the support already, and via which email address?


Kamila Pieńkowska staff answered 8 months ago


How are you importing MDB package in your project? And do other components work in your setup?


1Relation premium commented 8 months ago

I'm importing the files into the end of the document (genereted file). Most other things work like tooltips, select fields, toast, chips, modals and so on.


Kamila Pieńkowska staff commented 8 months ago

That's weird. If select is working then all pro components should work.

Is datepicker on your page on the page load or do you add it later or use it in a modal? Also, does your code work in a snippet?


1Relation premium commented 8 months ago

Sorry for late response. Does not worker either way. It works in a snippet. Not sure why it does not work. No console log issues. I can demo on my website if we setup a call.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No