Topic: Unable to select years with datepicker

codebitstech pro asked 5 years ago

Hello. I can initialize and see as well as use datepicker.However, When I pass these parameters into .datepicker, I can't see or find any dropdowns to select years or months.The format and label parameters do work, just not the selectMonths or selectYears.

Datepicker init. code :

labelMonthNext: 'Go to the next month', 
labelMonthPrev: 'Go to the previous month', 
labelMonthSelect: 'Pick a month from the dropdown',
 labelYearSelect: 'Pick a year from the dropdown', 
selectMonths: true, selectYears: true, 
format: 'mm/dd/yyyy'});


Mirosław Stasiak free answered 5 years ago

Hi, Check this topic: Regards,

Please insert min. 20 characters.


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



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No