-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
TimeField resets dayPeriod
segment when hour
value is deleted
#6793
Comments
We may be able to implement this by adding another check here that is along the lines of the following (still needs more testing)
|
Hi @LFDanLu, I would like to work on this issue. Could you please assign it to me or let me know if there are any specific requirements or guidelines I should follow? Thank you! |
Sure go for it! I would make sure to read through https://react-spectrum.adobe.com/contribute.html#contribute first. Other than that, feel free to reach out if you have any questions/concerns. |
Hey @LFDanLu, I noticed there was some activity on this issue, but it looks like it's still open/unassigned. Could I possibly work on this, or is it no longer available? Also would appreciate any advice if the issue is free to work on! Thanks! |
@charlotte-whiting Sure, go for it! I believe the comment still applies, so you can give that a shot and test locally to make sure it still does. As mentioned above as well, be sure to read through https://react-spectrum.adobe.com/contribute.html#contribute first! |
Provide a general summary of the issue here
For
TimeField
values greater than or equal to12
, clearing the hour segment input causes thedayPeriod
segment value to flip from "PM" to "AM".🤔 Expected Behavior?
Each segment of a
TimeField
can be edited in place, and modifying the value of one segment input does not alter the value of the others, eg. clearing an hour value does not causedayPeriod
to change from "PM" to "AM" or vice-versa.😯 Current Behavior
TimeField
value includes an hour >= 12, and…the
dayPeriod
segment changes from "PM" to "AM"💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
TimeField
Screen.Recording.2024-07-29.at.11.55.01.AM.mov
Version
[email protected]
What browsers are you seeing the problem on?
Chrome
If other, please specify.
also in Safari
What operating system are you using?
macOS 14.5
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: