Skip to content

DatePicker does not allow manual clear #52473

Description

@mleister97

Reproduction link

https://ant.design/components/date-picker

Steps to reproduce

  • Choose a date
  • Select the input date string and try to remove it with the remove key

What is expected?

  • onChange should be triggered
  • It should work exactly behave like pressing the clear button

What is actually happening?

  • onChange is NOT triggered
  • it is not possible to remove the value manually
  • the date is re-appearing after removing it manually
20250118-2044-57.1286975.mp4
Environment Info
antd 5.23.1
React 18.2.0
System Windows 11
Browser Latest Chrome

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions