1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

override default MIN_SUPPORTED_DATE on date picker

This commit is contained in:
Tyler Myracle 2024-01-15 19:05:33 -06:00
parent db1c75bff8
commit 2f3f0e7e53

View file

@ -144,6 +144,7 @@ function ProfileForm({ title, onSubmit, defaultValues }: ProfileViewProps) {
<DatePicker
popperPlacement="bottom"
className="mt-2"
minCalendarDate={DateTime.now().minus({ years: 100 }).toISODate()}
error={error?.message}
{...field}
/>