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

Entering date manually in custom date-fns date picker with format #808

Open
jvnm-dev opened this issue May 7, 2024 · 0 comments · May be fixed by #817
Open

Entering date manually in custom date-fns date picker with format #808

jvnm-dev opened this issue May 7, 2024 · 0 comments · May be fixed by #817

Comments

@jvnm-dev
Copy link

jvnm-dev commented May 7, 2024

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Open minimal reproducible example
  • Enter date manually character by character i.e. "04/17/2024"
  • When entering the first 2 of 2024 the bug occurs

What is expected?

The date should be 04/17/2024

What is actually happening?

The date is 04/17/0002. If I continue to type 2024 it becomes 0002024.

Environment Info
antd 5.16.2
React 18.2.0
System macOS Sonoma 14.2
Browser Arc 1.38.0
@jvnm-dev jvnm-dev linked a pull request Jun 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant