Topic: Unable to select years with datepicker
                  
                  codebitstech
                  pro
                  asked 8 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'});
                
                  
                      
                        Add comment
                      
                    
                  
                
                      
                      Mirosław Stasiak
                      free
                        answered 8 years ago
                    
                    Hi,
Check this topic:
https://mdbootstrap.com/support/datepicker-year-and-month-dropdown-is-not-showing-up/
Regards,
                    
                      
                    
                    
                    
                    
                  
                  
                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: Pro
 - Premium support: No
 - Technology: MDB jQuery
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: Yes
 - Provided link: No
 
Tags