adobe / adobe/react-spectrum

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

Open
#7,688 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.