I have the issue with the boostrap datepicker. I set the datepicker with minDate: ‘-11m’ and the datepicker show only 11 month before today (In this case: July 2023 – June 2024), but the datepicker show the year that suppossed to not be show which is 2022 and there is a left arrow in 2023.
enter image description here
$('#tanggalTrx').datepicker({
clearBtn: false,
format: 'yyyy-mm',
autoclose: true,
minViewMode: 1,
changeYear: true,
calenderWeeks: true,
minDate: '-1y',
startDate: '-11m',
endDate: '0d',
toggleActive: true,
});
How I disable the 2022 so it’s only show 2023 and 2024. Thank you
I have try search in internet and read the documentation but it’s not help