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

[RAC] DateRangePicker- input value isn't updated when granularity is < day #7688

Open
tothandras opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tothandras
Copy link

tothandras commented Jan 30, 2025

Provide a general summary of the issue here

Input value isn't updated when date range is selected when granuality="second" and value is currently empty.

🤔 Expected Behavior?

Input should be updated with the selected date range.

😯 Current Behavior

Image Image

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Go to the Granuality example: https://react-spectrum.adobe.com/react-aria/DateRangePicker.html

Version

react-aria-components 1.6.0

What browsers are you seeing the problem on?

Chrome, Firefox, Safari

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

@tothandras tothandras changed the title [DateRangePicker] Input value isn't updated when granularity is < day [RAC] DateRangePicker- input value isn't updated when granularity is < day Jan 30, 2025
@yihuiliao
Copy link
Member

yihuiliao commented Jan 30, 2025

Thanks for reporting this! Seems like a bug. I think it broke in this PR #7368 when we updated the types, so probably something related to that. I don't think it necessarily has to do with the granularity. Haven't dug into it too much though.

@yihuiliao yihuiliao added the bug Something isn't working label Feb 5, 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