diff --git a/frontend/beCompliant/src/components/answers/TimeAnswer.tsx b/frontend/beCompliant/src/components/answers/TimeAnswer.tsx index 0e7046c7..b33b9759 100644 --- a/frontend/beCompliant/src/components/answers/TimeAnswer.tsx +++ b/frontend/beCompliant/src/components/answers/TimeAnswer.tsx @@ -50,6 +50,9 @@ export function TimeAnswer({ const handleTimeAnswerUnit = (e: React.ChangeEvent) => { const timeUnit = e.target.value; setAnswerUnit(timeUnit); + if (value) { + submitAnswer(value, timeUnit); + } }; return (