-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] - onFocusChange in date range picker preset example #4941
Comments
Can you please elaborate more? |
in the example on your website: https://www.heroui.com/docs/components/date-range-picker#presets End date is never updated when using the calendar in the code snippet on your site |
Oh I got what you mean now. Thanks. |
No worries haha. Thx for picking it up so fast! |
HeroUI Version
2.7.2
Describe the bug
The datepicker only changes the start date due to:
onFocusChange: (val) => setValue({...value, start: val}),
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
as a user i expect the end date to change. but the onfocuschange only changes the start date, creating issues.
Screenshots or Videos
No response
Operating System Version
windows 11
Browser
Chrome
The text was updated successfully, but these errors were encountered: