Is there a way to disable the functionality when you click the label within the navigation bar? I want to be able to use next and previous buttons, but have nothing happen when the label is clicked.
I'm using double month view, and when i click the label (ie May 2020 - June 2020) it changes to year view. I've stopped this by explicitly setting view="month" but now on click of this, it resets the calendar to the beginning of the year.
@mikeyharris89 as per this other issue https://github.com/wojtekmaj/react-calendar/issues/242 you just need to set maxDetail, minDetail and view and if you want you can even disable the navigation bar
Thanks @giacomocerquone!
Awesome! Yeah it doesn't really indicate that anywhere in the docs so thanks for the quick response
@mikeyharris89 as per this other issue #242 you just need to set maxDetail, minDetail and view and if you want you can even disable the navigation bar
@giacomocerquone how do I disable the controls ?
Most helpful comment
@mikeyharris89 as per this other issue https://github.com/wojtekmaj/react-calendar/issues/242 you just need to set maxDetail, minDetail and view and if you want you can even disable the navigation bar