Topic: Unable to select years with datepicker
codebitstech pro asked 7 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 :
$('.datepicker').pickadate({ 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 answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No