DatePicker Multiple Excluded Date Ranges #32166
Unanswered
vjchildress
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have a list of excluded date ranges to be made unavailable in the DatePicker?
Use Case:
Users need to schedule time for a continuous date range and I would like to show them available date range options in the calendar.
This feature would result in the dates in the exclusion list being grayed out in the calendar around the available dates. I believe this is different from 'minDate' and 'maxDate' feature which only makes one range of dates available.
This is an example where available dates are surrounded by unavailable dates.
![datePickerExampleBlackout](https://private-user-images.githubusercontent.com/147885082/353654636-9a033f4d-5a1a-4f76-b55b-d049f97c87a2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMjI4MDAsIm5iZiI6MTcyNjEyMjUwMCwicGF0aCI6Ii8xNDc4ODUwODIvMzUzNjU0NjM2LTlhMDMzZjRkLTVhMWEtNGY3Ni1iNTViLWQwNDlmOTdjODdhMi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQwNjI4MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NjNlNDI0MTQ2ZDdmNWVjZGEyY2YxMTY0YjVmNWY3ZmVjMjk1NmJiYzk2YTdhZGFhZGE0MGUzMzI4N2ZlNjBhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.x6KGI0UXc7WmeX5h4OTgxqj_nxjA6ZP-x9DJFQQPhKY)
Beta Was this translation helpful? Give feedback.
All reactions