diff --git a/.changeset/rude-monkeys-behave.md b/.changeset/rude-monkeys-behave.md new file mode 100644 index 000000000..38d3286d1 --- /dev/null +++ b/.changeset/rude-monkeys-behave.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": patch +--- + +fix DatePicker submit button diff --git a/packages/react/src/components/Forms/DatePicker/Calendar.tsx b/packages/react/src/components/Forms/DatePicker/Calendar.tsx index b725f4292..4157aea7b 100644 --- a/packages/react/src/components/Forms/DatePicker/Calendar.tsx +++ b/packages/react/src/components/Forms/DatePicker/Calendar.tsx @@ -233,6 +233,7 @@ const CalendarAux = forwardRef( }} disabled={isPrevButtonDisabled} onClick={() => state.focusPreviousSection()} + type="button" />