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 7207fb5 commit 7605ad3Copy full SHA for 7605ad3
apps/frontend/src/components/questionnaire/PeriodForm.tsx
@@ -53,7 +53,7 @@ export function PeriodForm({ onSave, actionLabel, period, startDate }: PeriodFor
53
}, [period]);
54
55
useEffect(() => {
56
- if (startDate) f.reset();
+ if (startDate) f.setValues({ range: [startDate, null] });
57
}, [startDate]);
58
59
return (
0 commit comments