primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
9.8k stars 1.18k forks source link

Calendar: Month/Year pickers don't work when multiplemonths > 1 #5532

Open jacobg opened 5 months ago

jacobg commented 5 months ago

Describe the bug

Check out the demo for multiplemonths: https://primevue.org/calendar/#multiplemonths Try click on Month or Year, and it doesn't open the respective picker like it does when not using multiplemonths.

Reproducer

https://primevue.org/calendar/#multiplemonths

PrimeVue version

3.51.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

jacobg commented 5 months ago

What's the reason it's disabled when number of months is greater than 1? https://github.com/primefaces/primevue/blob/0acaaf2d962b1deb5290e528861517a684d2043e/components/lib/calendar/Calendar.vue#L3009-L3011