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 year and month dropdown is not showing up

rajeevpra priority asked 7 years ago


Hi, I have MDB pro and after upgrading to 4.4.1 date picker is not showing year and month drop down. It was fine with 4.3.2. Here is my initialization code:
$('.datepicker').pickadate({
 formatSubmit: 'yyyy/mm/dd',
 selectMonths: 12,
 selectYears: 10
});
Please let me know if I am missing something.  

Mirosław Stasiak free answered 7 years ago


Hi,

Add this code to your style.css file

.picker__header select {
    display: inline-block !important;
}

Regards,


rajeevpra priority commented 7 years ago

It worked. Thanks!


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

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