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
Add a DateRangeInput with closeOnSelection of false
Click on a start date and then click on a valid end date
The endInputString is cleared out, instead of being set to the clicked on end date.
If you go on to click another end date, the endInputString becomes the second to last clicked on end date (not the most recent). It seems to be off by one every time (until you close the input)
Actual behavior
When you select an end date and the closeOnSelection is false (i.e., the popover stays open), the input string is not set to the clicked on date but the last clicked date (it's always one behind).
Expected behavior
The end date input string should reflect the most recently selected end date.
The text was updated successfully, but these errors were encountered:
Environment
Steps to reproduce
DateRangeInput
withcloseOnSelection
offalse
endInputString
is cleared out, instead of being set to the clicked on end date.endInputString
becomes the second to last clicked on end date (not the most recent). It seems to be off by one every time (until you close the input)Actual behavior
When you select an end date and the
closeOnSelection
is false (i.e., the popover stays open), the input string is not set to the clicked on date but the last clicked date (it's always one behind).Expected behavior
The end date input string should reflect the most recently selected end date.
The text was updated successfully, but these errors were encountered: