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

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

hk029 opened this issue Mar 21, 2019 · 2 comments


None yet
3 participants
Copy link

commented Mar 21, 2019

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

Reproduction link

Steps to reproduce


What is expected?


What is actually happening?


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



This comment has been minimized.

Copy link

commented Mar 22, 2019

mode="xxxx" 目前只是用于控制面板的展示方式,不会修改 RangePicker 的默认关闭逻辑。就像你说的,你现在需要用 RangePicker 去模拟 MonthRangePicker 的行为,目前可以用 openonOpenChange 去控制面板的显示,用 value 去同步当前日期展示。

其他类型的 XxxxPicker 可以关注跟踪 #4524 (comment)


This comment has been minimized.

Copy link

commented Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.