Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove field.disabled condition when setting both dates on the datepicker.

Dombi Attila30465a263e2a
diff --git a/frontend/src/stimulus/controllers/dynamic/overview/project-life-cycles-form.controller.ts b/frontend/src/stimulus/controllers/dynamic/overview/project-life-cycles-form.controller.ts
index b9227fb2728..68b4ff7127c 100644
--- a/frontend/src/stimulus/controllers/dynamic/overview/project-life-cycles-form.controller.ts
+++ b/frontend/src/stimulus/controllers/dynamic/overview/project-life-cycles-form.controller.ts
@@ -119,9 +119,7 @@ export default class ProjectLifeCyclesFormController extends FormPreviewControll
} else {
this.dateInputFields
.forEach((field, index) => {
- if (!field.disabled) {
- field.value = this.dateToIso(dates[index]);
- }
+ field.value = this.dateToIso(dates[index]);
});
this.clearHighLight();
}