RangePicker 无法正确手动填写开始时间 #6999
Closed
RangePicker 无法正确手动填写开始时间 #6999
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
cc @paranoidjk rc-calendar 这层好像就有问题了 http://react-component.github.io/calendar/examples/antd-range-calendar.html 输入没法选择时间,但是点击可以。 |
I also encountered this bug in the development process. |
也许有人能解决这个问题? |
我发现使用 defaultValue 时显示是对的,但实际选中的还是默认的,好奇怪 |
@benjycui 这是要自己实现的.. https://github.com/react-component/calendar/blob/master/examples/antd-range-calendar.js#L165 demo 只处理了显示,没有处理输入更新 |
相同的问题,现在也遇到了,看了一下antd官网,似乎还没有进行修复。希望尽早修复。 |
yesmeck
added a commit
that referenced
this issue
Jan 18, 2018
Merged
yesmeck
added a commit
that referenced
this issue
Jan 20, 2018
yesmeck
added a commit
that referenced
this issue
Jan 26, 2018
yesmeck
added a commit
that referenced
this issue
Jan 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.12.2
Environment
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Reproduction link
https://ant.design/components/date-picker-cn/
Steps to reproduce
直接看官网示例。RangePicker的开始时间输入框,输入到符合format的时间时,就会清空输入框,非常奇怪。
What is expected?
用户可以正确手动输入开始时间,并最终效果和从日历上选一样。
What is actually happening?
开始时间框输入符合format格式的时间时,会被清空。
The text was updated successfully, but these errors were encountered: