Skip to content

How do you set DatePicker's min/max date? #1829

Answered by markoffden
markoffden asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I have sorted in out. It may be done by utilising CalendarDate constructor from @internationalized/date package. I am new to zag/chakra components, maybe it's an obvious thing for seasoned users, but IMHO worth mentioning in the docs.

Replies: 3 comments 1 reply

Comment options

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

Answer selected by markoffden
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants