I am trying to open a datepicker that only allows months to be chosen, so I am trying to use the minViewMode option but it is not working. It allows me to view the days of each month.
$("#datepicker").datepicker({
        format: "mm-yyyy",
        minViewMode: 1,
        changeMonth: true,
        changeYear: true
});
This produces the below datepicker:
I am aiming for something similar to the following:


