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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Clear start date selection when the chosen finish date is earlier than the start date.
Dombi Attilaf93242380b0b
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.tsindex c99a441e38e..23f8ca70fca 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@@ -106,6 +106,8 @@ export default class ProjectLifeCyclesFormController extends FormPreviewControllthis.finishDateTarget.value = this.dateToIso(dates[0]);if (!this.startDateTarget.value) {this.highlightField(this.startDateTarget);+ } else if (this.startDateTarget.value > this.finishDateTarget.value) {+ this.startDateTarget.value = '';}} else {this.startDateTarget.value = this.dateToIso(dates[0]);