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

DateRangePicker - open and onOpenChange props are missing #650

Closed
ConnorSahha opened this issue Sep 3, 2024 · 0 comments · Fixed by #651
Closed

DateRangePicker - open and onOpenChange props are missing #650

ConnorSahha opened this issue Sep 3, 2024 · 0 comments · Fixed by #651

Comments

@ConnorSahha
Copy link

Describe the bug

DateRangePicker does not export "open" or "onOpenChange" props so there is no way to programmatically close it after the user has made a selection.

image

The docs claim this functionality exists

image

The DatePicker component supports this

image

Reproduction

https://stackblitz.com/edit/github-ruiuwp?file=src%2Froutes%2F%2Bpage.svelte

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 5.86 GB / 15.87 GB
  Binaries:
    Node: 21.6.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.3 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.4 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.86)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.5.7
    bits-ui: ^0.21.12 => 0.21.12
    svelte: ^4.2.7 => 4.2.16

Severity

annoyance

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 a pull request may close this issue.

1 participant