damienroche / vue-mj-daterangepicker

🗓Vue.js date range picker with multiples ranges and presets (vue 2.x)
https://damienroche.github.io/vue-mj-daterangepicker/
60 stars 39 forks source link

Year panel selection with future false breaks #17

Open VanessaKeeton opened 4 years ago

VanessaKeeton commented 4 years ago

Year panel selection with future false causes browser to toss the long script warning. even if I set the yearsCount to 0. It should simply not show the future years but the right count of years in the past.

lornacodes commented 4 years ago

This is also the case for the Month panel selection

damienroche commented 4 years ago

Hi guys, I can't reproduce this. can you provide me a sandbox link please

lornacodes commented 4 years ago

My issue was more similar the second part of the first comment

"It should simply not show the future years but the right count of years in the past."

And this was the same for the months - you could still select future months in this view. I believe this is still an issue on your demo here where you shouldn't be able to select past years/months?

damienroche commented 4 years ago

oh ok now I understand. I will look deeper at this