adobe / adobe/react-spectrum

Copy and Paste support for DateField and TimeField

Open
#5,285 6 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the feature here

Looking for an easy way for users to copy and paste values to/from DateField and TimeField

### 🤔 Expected Behavior?

Copy and paste much like inputs

### 😯 Current Behavior

Currently does not support selecting all DateSegment values for copy and paste.

### 💁 Possible Solution

_No response_

### 🔦 Context

There are cases when users must fill in multiple Date/Time fields in a single form. Copy and paste seems like an intuitive way to provide a starting value before making additional changes.

### 💻 Examples

Two quick examples that allow for copy and paste in a DateField:

MUI: https://mui.com/x/react-date-pickers/date-time-picker/
Kendo: https://www.telerik.com/kendo-react-ui/components/dateinputs/datetimepicker/

### 🧢 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.