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

Clear datepicker value after saving

Oliver Güntherbf4bbf11c617
diff --git a/frontend/src/app/shared/components/datepicker/single-date-picker/single-date-picker.component.ts b/frontend/src/app/shared/components/datepicker/single-date-picker/single-date-picker.component.ts
index 61b4e459215..a8fd3c68a2c 100644
--- a/frontend/src/app/shared/components/datepicker/single-date-picker/single-date-picker.component.ts
+++ b/frontend/src/app/shared/components/datepicker/single-date-picker/single-date-picker.component.ts
@@ -174,6 +174,7 @@ export class OpSingleDatePickerComponent implements ControlValueAccessor, AfterC
this.onChange(this.workingValue);
this.writeValue(this.workingValue);
this.opened = false;
+ this.workingValue = '';
this.cdRef.detectChanges();
}
}