mui / mui/mui-x

[pickers] Smart pasting in date and time fields

Open
#7,253 3 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: pickers type: new feature
Dominant language
TypeScript
Stars
5.8k
Forks
1.8k
Avg merge
2d 10h
Merged PRs (30d)
148

Description

Summary 💡

When users paste a date or time string, the field automatically recognizes the input and matches the string with the given sections of the field.
The field can ideally distinguish different date separators and even date formats, for example, pasting a MM/DD into MMM d.
The field ideally recognizes partial dates if the field "starts with" it.

Examples 🌈

https://retool.com/components/date

Motivation 🔦

Enable copying and pasting in forms using Fields (and Pickers).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the date and time fields and pickers described in the issue, using the linked example as a reference for expected behavior. Define supported separators, formats, and partial values before implementation; done means pasted values populate the matching sections consistently in forms using Fields and Pickers.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.