Skip to content

Commit

Permalink
max is today
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jul 18, 2024
1 parent d0e1d94 commit 72ba4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/register/IndyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const IndyForm: FC<IndyFormProps> = () => {
</FormHelperText>
<forms.DatePickerField
name="date_of_birth"
maxDate={dayjs().subtract(1, "day")}
maxDate={dayjs()}
required
/>
{yearsOfAge !== undefined && (
Expand Down

0 comments on commit 72ba4c5

Please sign in to comment.