We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac97da7 commit 8ea1389Copy full SHA for 8ea1389
src/PickerInput/Popup/PresetPanel.tsx
@@ -27,7 +27,7 @@ export default function PresetPanel<DateType extends object = any>(
27
<div className={`${prefixCls}-presets`}>
28
<ul>
29
{presets.map(({ label, value }, index) => {
30
- const isDisabled = moment(value).isAfter(maxDate) || moment(value).isSame(maxDate);
+ const isDisabled = moment(value).isAfter(maxDate);
31
return (
32
<li
33
key={index}
0 commit comments