Calendar: Disable year and month when set minDate or maxDate #3589
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
I want it to be disabled the number button because when I use it to be a Month Picker or Year Picker users don't understand why they can not click the button or click it but the input doesn't change.
PR #3588
Reproducer
https://codesandbox.io/s/reverent-butterfly-nytd5z?file=/src/App.vue
PrimeVue version
3.22.4
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
minDate
ormaxDate
prop.Expected behavior
Prevent users to click the months and years number buttons when setting
minDate
ormaxDate
The text was updated successfully, but these errors were encountered: