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

DateRange Picker does not allow to select maxValue as both start/end date #1087

Closed
matheusnogs opened this issue Feb 1, 2025 · 0 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@matheusnogs
Copy link

Describe the bug

Hi, I am fairly confident that I have found a bug.

https://svelte.dev/playground/238397af899a4c56bf01511f485192ec

In the implementation above:

  • I have maxValue=parseDate(2025-01-17)
  • I can select any date before that as my both start & end date. (good behavior)
  • I can create any range where 2025-01-17 is my end date (good behavior)
  • However I cannot select 2025-01-17 as both my start & end date simultaneously. (buggy behavior)

Expected behavior:
I should be able to select 2025-01-17 as both my start & end date simultaneously.

Reproduction

https://svelte.dev/playground/238397af899a4c56bf01511f485192ec

Logs

System Info

System:
    OS: macOS 12.5.1
    CPU: (8) x64 Intel(R) Core(TM) i7-1060NG7 CPU @ 1.20GHz
    Memory: 1.32 GB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.12.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.9.0 - /usr/local/bin/npm
  Browsers:
    Brave Browser: 132.1.74.50
    Chrome: 132.0.6834.160
    Safari: 15.6.1
  npmPackages:
    @sveltejs/kit: ^2.5.27 => 2.16.1 
    bits-ui: ^0.22.0 => 0.22.0 
    svelte: ^5.19.6 => 5.19.6

Severity

annoyance

@huntabyte huntabyte added triage A maintainer needs to review this issue and label it appropriately bug Something isn't working and removed triage A maintainer needs to review this issue and label it appropriately labels Feb 1, 2025
@huntabyte huntabyte added this to the 1.0 milestone Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants