-
Notifications
You must be signed in to change notification settings - Fork 373
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
cant select only one day in range selection #396
Comments
I am using version 7.1.3 of the plugin but also the newest version does not work. React I am on version 18.3.1 |
The problem was solved by enabling backwards selection |
Is there any solution for this? The older version allowed start date and end date to be the same date. Now, it doesn't allow for single date range. I don't understand what @Bludecoder2 means by the problem was solved by enabling backwards selection? |
@davidfeldt |
Yes, that works. Thank you!
On Oct 31, 2024, at 12:57 PM, Stephen Richard ***@***.***> wrote:
Is there any solution for this? The older version allowed start date and end date to be the same date. Now, it doesn't allow for single date range. I don't understand what @Bludecoder2<https://github.com/Bludecoder2> means by the problem was solved by enabling backwards selection?
@davidfeldt<https://github.com/davidfeldt>
I faced the same issue unable to select only one day in range selection.
If you enable the allowBackwardRangeSelect={true} props it seems to allow us to get a value for the "end" date instead of null when clicking on the same day.
If it's possible for you, it should solve the issue.
—
Reply to this email directly, view it on GitHub<#396 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAESF4L7OEP2M2AHBPQ7C7LZ6JOPNAVCNFSM6AAAAABN6Z5IRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQGM3TGNJQGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
In an older version of react I could select the same day twice in the range selection. That would allow me to select a range of one day.
Now I can't do that anymore.
thats how I implement the range selection:
Anyone any idea why its broken or better how to fix it?
The text was updated successfully, but these errors were encountered: