Skip to content

date picker enabledDates #14201

Answered by ddaribo
ricardosaracino asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ricardosaracino,

Thank you for your suggestion!

In general, adding such a property would duplicate the functionality of setting the disabled dates, where obviously the non-disabled ones are enabled. We tend to avoid such duplications in the API, when the “reverse” could be achieved in a straightforward manner.

Hence, I am wondering what are the specifics of your scenario that would require explicitly defining the enabled dates? I am asking this, as currently, it is considered that by providing various DateRangeDescriptors, any rage of dates could be disabled, again leaving the rest as enabled.

It is worth noting that setting the minValue and maxValue properties would also disable any …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kacheshmarova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #14165 on May 09, 2024 07:11.