Reproduction link
Steps to reproduce
参照 https://stackblitz.com/edit/react-hfxqdi?file=demo.tsx
What is expected?
startDate禁用,且endDate 可以修改日期
What is actually happening?
startDate禁用,endDate 未禁用但无法修改日期
| Environment | Info |
| ------------ | ------------ |
| antd | 5.17.3 |
| React | ^17.0.0 |
| System | macOS 14.1.1 (23B81) |
| Browser | 125.0.6422.142(正式版本) (arm64) |
2条答案
按热度按时间xxls0lw81#
Start a new pull request in StackBlitz Codeflow .
sxissh062#
disabledDate
is valid all the values even indisabled.range
. It should warning developer that part of it is not in the range.