react-infinite-calendar icon indicating copy to clipboard operation
react-infinite-calendar copied to clipboard

Is there a way to use it as a simple year picker ? (Disable day selection)

Open NHebrard opened this issue 6 years ago • 0 comments

My application uses this lovely calendar component. I am encountering a new use case where I would like to use it as a simple year picker. I almost achieved my goal thanks to the display property set to "years" and the showMonthsForYears display option set to "false". The year selection works well, but I get redirected to the day selection. Is there a way to disable the day selection?

NHebrard avatar Oct 07 '18 00:10 NHebrard