Skip to content

Range/DatePicker设置mode后,onChange失效 #15572

@hk029

Description

@hk029
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://codepen.io/voidsky/pen/moQbwO

Steps to reproduce

可以查看console,所有onChange里事件都没有触发,只能在onPanelChange里进行值的修改,这不符合这两个事件的预期。

What is expected?

onChange中能拿到改变的month

What is actually happening?

onChange并没有触发

Environment Info
antd 3.15.1
React 16.x
System MacOS 10.14.3
Browser Chrome 72.0.3626.121

同时,mode="month"的时候,弹窗无法关闭(这点已经有其他人反映了),但是目前没有可用的MonthRangePicker的组件,因此只能用RangePicker去模拟MonthRangePicker的功能

Metadata

Metadata

Assignees

Labels

❓FAQissues would be discussed a lot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions