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

DatePicker使用getFieldDecorator绑定form后,如果使用showTime属性则无法选择,只有点「此刻」才能选择 #3665

Closed
bestv2 opened this issue Nov 1, 2016 · 6 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@bestv2
Copy link

bestv2 commented Nov 1, 2016

DatePicker使用getFieldDecorator绑定form后,如果使用showTime属性则无法选择,只有点「此刻」才能选择,不使用showTime的话则正常

发生问题的环境是:

antd version: 2.2
os: mac os 10.12
browser: chrome

可重现的在线演示

http://codepen.io/bestv2/pen/GjVjoX

@benjycui
Copy link
Contributor

benjycui commented Nov 1, 2016

RangePicker[showTime] 可以,但是 DatePicker[showTime] 不可以。

@afc163
Copy link
Member

afc163 commented Nov 2, 2016

受控模式下有问题,我改完发一个 2.2.1。

@BANG88
Copy link
Member

BANG88 commented Nov 2, 2016

是同一个问题吗

@afc163
Copy link
Member

afc163 commented Nov 2, 2016

是的,DatePicker[showTime] 我 2.2.0 的时候改过,现在只有 onOk 的时候才触发 onChange,把控制模式改挂了。

@afc163 afc163 closed this as completed in 82c816f Nov 2, 2016
@afc163
Copy link
Member

afc163 commented Nov 2, 2016

2.2.1 released

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants