primefaces / primevue

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

Calendar: showOtherMonths - does not match the description in the documentation #4099 #4489

Open konczdam opened 1 year ago

konczdam commented 1 year ago

Describe the bug

Documentation: showOtherMonths [ boolean : true ] Whether to display dates in other months (non-selectable) at the start or end of the current month

Instead of hiding the dates in other months, setting the flag to false hides the navigation button which makes it possible to navigate to the next and previous months. image

Reproducer

https://codesandbox.io/s/musing-kowalevski-qs88vn

PrimeVue version

3.34.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

add :showOtherMonths="false"

Expected behavior

Dates in other months are invisible. Prev/next month buttons are enabled.

joaomarcelofm commented 1 year ago

➕ I'm also facing this issue with "primevue": "^3.35.0".