You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: