Month selector is not working. It start to work, if you change the year before. https://jsfiddle.net/bm42r3oq/ <img width="447" height="310" alt="Image" src="https://github.com/user-attachments/assets/1cfad7fc-1a0c-4f7f-8ad8-b30d6bd6d668" />
Activity
mgol commentedon Feb 7, 2026
Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer?
viktorvi commentedon Feb 7, 2026
1.11.4 is working correctly.
I am able to reproduce the problem when numberOfMonths option used with jQuery UI 1.13.0 and 1.14.2
$(function() {
$('#calendarDiv').datepicker({
numberOfMonths: 3,
maxDate: 0,
stepMonths: 1,
changeYear: true,
changeMonth: true
});
});
mgol commentedon Feb 7, 2026
What about 1.12.1?
viktorvi commentedon Feb 8, 2026
1.12.1 contains the problem.
I have attached examples.
1.11.4-Working.html
1.12.1.html
1.13.0.html
1.14.2.html
mgol commentedon Feb 8, 2026
Thanks for the info. Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome if they're not too complex and contain tests.