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
There's a undocumented prop called twoStepChange that is supossedly made for calling onClick only on the second time you click on a calendar date. Used specifically for dateRanges. That way you have track of the new value exactly when you select the second date in the range.
It seems it is not used. Is there a way to get the same functionality? I want to know if the onClick call was called when the endDate is selected
[BUG] Bug Reproduce Steps
Add twoStepChange prop in
Do click in any date in the calendar
onChange is called
Tell us how to reproduce this issue.
[BUG] Expected behaviour
onChange should be called only after the second date (endDate) is added
Subject of the issue
There's a undocumented prop called twoStepChange that is supossedly made for calling onClick only on the second time you click on a calendar date. Used specifically for dateRanges. That way you have track of the new value exactly when you select the second date in the range.
It seems it is not used. Is there a way to get the same functionality? I want to know if the onClick call was called when the endDate is selected
[BUG] Bug Reproduce Steps
Add twoStepChange prop in
Do click in any date in the calendar
onChange is called
Tell us how to reproduce this issue.
[BUG] Expected behaviour
onChange should be called only after the second date (endDate) is added
Environment
Package Version: 1.1.3
React version: 16.9.0
Node version: 12.14.1
Browser: Chrome (latest)
The text was updated successfully, but these errors were encountered: