Skip to content

Selecting multiple dates in DatePicker component #139

Answered by rtivital
feute asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this feature is not supported natively but you can do a workaround with dayStyles and input format, this is definitely hacky, but should work out fine – https://codesandbox.io/s/eloquent-lake-lizz0?file=/src/App.tsx
Note that there might be some issues in styles as I just wanted to showcase how to implement it, use Styles API to fix those if you decide to use this component

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@feute
Comment options

@mohammed-bahumaish
Comment options

Answer selected by feute
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