ant-design/components/date-picker/demo/start-end.md

14 lines
504 B
Markdown
Raw Normal View History

2016-06-19 11:17:09 +08:00
## zh-CN
`RangePicker` 无法满足业务需求时,可以使用两个 `DatePicker` 实现类似的功能。
2019-05-07 14:57:32 +08:00
> - 通过设置 `disabledDate` 方法,来约束开始和结束日期。
> - 通过 `open` `onOpenChange` 来优化交互。
2015-10-22 17:27:53 +08:00
2016-06-19 11:17:09 +08:00
## en-US
When `RangePicker` does not satisfied your requirements, try to implement similar functionality with two `DatePicker`.
2016-06-19 11:17:09 +08:00
2019-05-07 14:57:32 +08:00
> - Use the `disabledDate` property to limit the start and end dates.
> - Improve user experience with `open` and `onOpenChange`.