Skip to content

Commit

Permalink
fix: désactivation de tous les date picker dans le futur
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomarom committed Sep 24, 2024
1 parent faca427 commit 6502db8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/modules/indicateurs/filters/FiltreDate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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") })}
Expand Down

0 comments on commit 6502db8

Please sign in to comment.