Skip to content
Discussion options

You must be logged in to vote

It is actually possible to use an array of dates to disable:

// Disable an array of dates
<DayPicker disabled={[new Date(2023, 9, 1), new Date(2023, 9, 2)]} />

I understand this was not clear enough from the docs, so I've updated them to be more explicit:

https://daypicker.dev/docs/selection-modes#disabled

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gpbl
Comment options

gpbl May 10, 2025
Maintainer

Answer selected by gpbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants