when DatePicker.RangePicker set mode=['month', 'month'] , there disabledDate is wrong
See original GitHub issueVersion
3.1.3
Environment
react
Reproduction link
https://sharkwarn.github.io/#/
Steps to reproduce
disabledDate=(value) => {
return true
}
....
render() {
return (
<div>
<RangePicker
disabledDate={this.disabledDate}
mode={ ['month', 'month']}
/>
</div>
)
What is expected?
disabled some Date
What is actually happening?
The disabledDate doesn’t work
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Disable date and time for antd DatePicker - Stack Overflow
When a user sets the startTime ; in your onStartTimeChange handler; set a ... For disabling dates, the disabledDate prop can be used....
Read more >DatePicker - Ant Design - A UI Design Language
When RangePicker does not satisfied your requirements, try to implement similar ... Use the disabledDate property to limit the start and end dates....
Read more >DatePicker - Ant Design
Use the disabledDate property to limit the start and end dates. ... When set mode to DatePicker/RangePicker, cannot select year or month anymore?...
Read more >Angular Date Range Picker with Custom Range Presets
It's a common use case to have pre-defined ranges like "last month" or "this week" which can be selected to set the date...
Read more >DatePicker - Element Plus
The disabled date is set by disabledDate , which is a function. ... You can choose week, month, year or multiple dates by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1
I’m experiencing this issue, currently with antd 3.6.1. disabledDate still has no effect.
Is the fix supposed to have been applied already ?