Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: datepicker not hiding properly (at all)

abbynormaled priority asked 6 years ago


Here is my HTML:
<input type="text" id="workEntryDate" placeholder="Date" class="form-control datepicker">

and my initialization:
$('.datepicker').pickadate();
I get no errors in the console. When the page loads, the picker is shown. Choosing a date populates the field as expected, but the picker will not close, even when choosing the 'Close' button. 'Today' and 'Clear' work as expected.

abbynormaled priority commented 6 years ago

I re-downloaded the MDB-Pro zip from MY ACCOUNT, and replaced the bootstrap, jquery, and mdb files. This seems to have fixed the issue. I don't know what was wrong with the initial downloaded files, but there it is.

Jakub Strebeyko staff answered 6 years ago


Hi there Head, I wasn't able to recreate the error - the picker rendered from the snippet closes on clicking any of the buttons or even on clicking outside of it. Please try to strip your code to the minimum possible to see if the bug persists. What browser are you using? Best Regards, Kuba

abbynormaled priority commented 6 years ago

Hello, and thanks for the reply. I'm using Chrome Version 68.0.3440.17 (Official Build) beta (64-bit). You can see a stripped-down implementation of the issue at http://central.commandcopywriter.com/test.html

FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags