Skip to content
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

fix- daterange picker, default range in quick Select ranges #6704

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

DerekLiang
Copy link

@DerekLiang DerekLiang commented Nov 2, 2024

fix #6411

PR Checklist

Before creating new PR, please take a look at checklist below to make sure that you've done everything that needs to be done before we can merge it.

  • read and followed the CONTRIBUTING.md guide.
  • built and tested the changes locally.
  • added/updated tests.
  • added/updated API documentation.
  • added/updated demos.

I believed that the issue is within the following code. The issue was that when compare Date objects, we should compare the date (year, month, day) instead of the whole Date object.

It can be duplicated by the following steps in the existing demo page:

select a range from the Date Range Picker,
copy the text
select a different range
paste the text back

Expected result:
We will expect that the date range will highlight at the end of step 4 as same as at the end of step 1.

Actual result:
none of the range will be highlighted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

default range in quick Select ranges
1 participant