Describe the bug
When using selectableRanges option for monthdatepicker, selecting the first month throws an error.
To Reproduce
Steps to reproduce the behavior:
- Go to start month picker
- Click on current month
- See error
Screenshots

Desktop (please complete the following information):
Additional context
selectableRanges: [
[today, new Date(today.getFullYear() + 1, today.getMonth(), today.getDate())]
],
format: 'YYYY-MM',
type: 'month'
Describe the bug
When using selectableRanges option for monthdatepicker, selecting the first month throws an error.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Desktop (please complete the following information):
Additional context