Skip to content

Commit

Permalink
fix: DatePicker should allow null values
Browse files Browse the repository at this point in the history
  • Loading branch information
jherdman authored and haideralsh committed Mar 14, 2024
1 parent 3fed98a commit b6d962d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface DatePickerProps extends Omit<FieldProps, OmittedFieldProps> {
maxDate?: Date;
highlightDates?: ReactDatePickerProps["highlightDates"];
disableFlipping?: boolean;
selected?: Date;
selected?: Date | null;
}

const DEFAULT_DATE_FORMAT = "yyyy-MMM-dd";
Expand Down

0 comments on commit b6d962d

Please sign in to comment.