Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-1419] chore: enable module creation with dates older than today. (#4659)

Prateek Shourya9ff3c2208925
diff --git a/web/components/modules/form.tsx b/web/components/modules/form.tsx
index 6e8607d6ae..8178066230 100644
--- a/web/components/modules/form.tsx
+++ b/web/components/modules/form.tsx
@@ -147,7 +147,6 @@ export const ModuleForm: React.FC<Props> = (props) => {
<DateRangeDropdown
buttonVariant="border-with-text"
className="h-7"
- minDate={new Date()}
value={{
from: getDate(startDateValue),
to: getDate(endDateValue),
diff --git a/web/components/modules/sidebar.tsx b/web/components/modules/sidebar.tsx
index 3482afb1bc..9688db1890 100644
--- a/web/components/modules/sidebar.tsx
+++ b/web/components/modules/sidebar.tsx
@@ -471,7 +471,6 @@ export const ModuleDetailsSidebar: React.FC<Props> = observer((props) => {
<DateRangeDropdown
buttonContainerClassName="w-full"
buttonVariant="background-with-text"
- minDate={new Date()}
value={{
from: startDate,
to: endDate,