Date gets deselected in Calendar with selection mode range #2279
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ...
Codesandbox case
https://codesandbox.io/s/primereact-test-forked-mgcsf
Current behavior
I use
Calendar
with selectionModerange
. First I select date1, then date2. If date2 < date1, then date1 is deselected.Expected behavior
I'm thinking order of dates shouldn't matter, when selecting a range, or is this expected behaviour? If so, a setting for this would be great!
Please tell us about your environment:
React version:
16.8.0
PrimeReact version:
6.0.1
Browser:
Chrome 93.0
The text was updated successfully, but these errors were encountered: