-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass an array as defaultDate #2830
Milestone
Comments
Nayael
added
State: Triage
Tickets that need to be triaged.
Type: Feature Request
labels
Jun 22, 2023
If you set the input value to multiple dates. It should pick those up. Otherwise, if you want a programmatic way to set multiple values, this is how the picker does it. I understand your use case. However, I don't think I could implement this right now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Proposal
Currently there is no way to initialize a picker with multiple dates, or with a range already selected.
The
defaultDate
option should take in an string or an array, so as to have a range initialized, instead of having to add it manually afterwards.Motivation and context
Having encountered the problem myself, initializing a calendar with a range is a pain.
The text was updated successfully, but these errors were encountered: