uvarov-frontend / vanilla-calendar-pro

Vanilla Calendar is a versatile JavaScript date and time picker with TypeScript support, making it compatible with any JavaScript framework or library. It is designed to be lightweight, simple to use, and feature-rich without relying on external dependencies.
https://vanilla-calendar.pro
MIT License
445 stars 58 forks source link

Disable year and month but keep nav arrows #265

Closed saidcc closed 4 months ago

saidcc commented 4 months ago

Hello,

There is actually two questions

  1. Is it possible for the arrow navigation to remain active while the month and year are disabled? I'm uncertain if it's a bug, but after a few clicks, either the month or the year becomes disabled, rendering further navigation impossible. See image below image

  2. Is it possible to disable the appy/insert button if there is no selection made, in that there is no start or end date

Thanks & Regards Said

uvarov-frontend commented 4 months ago

Hello, I don't see the problem from the picture, reproduce the problem on https://codesandbox.io and attach the link here.