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

Keep active date field when clearing it

Oliver Günther820679250b04
diff --git a/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts b/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
index 2258b084dc6..d440290b14c 100644
--- a/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
+++ b/frontend/src/app/shared/components/datepicker/wp-multi-date-form/wp-multi-date-form.component.ts
@@ -196,7 +196,7 @@ export class OpWpMultiDateFormComponent extends UntilDestroyedMixin implements A
// The duration field is special in how it handles focus transitions
// For start/due we just toggle here
- if (field !== 'duration') {
+ if (update !== null && field !== 'duration') {
this.toggleCurrentActivatedField();
}