diff --git a/ui/modules/indicateurs/filters/FiltreDate.tsx b/ui/modules/indicateurs/filters/FiltreDate.tsx index f20a4b47b..542a4b641 100644 --- a/ui/modules/indicateurs/filters/FiltreDate.tsx +++ b/ui/modules/indicateurs/filters/FiltreDate.tsx @@ -39,6 +39,7 @@ function FiltreDate(props: Props) { showFullMonthYearPicker showFourColumnMonthYearPicker locale="fr" + maxDate={new Date()} onCalendarClose={() => setIsOpen(false)} onCalendarOpen={() => setIsOpen(true)} customInput={props.button({ setIsOpen, isOpen, buttonLabel: formatDate(props.value, "dd MMMM yyyy") })}