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

Enable saving of project status edit field

Wieland Lindenthal0a8ccc6658a6
diff --git a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.html b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.html
index 22faf21afda..5ff9f534078 100644
--- a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.html
+++ b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.html
@@ -5,6 +5,7 @@
class="project-status"
(open)="onOpen()"
(close)="onClose()"
+ (change)="handler.handleUserSubmit()"
[appendTo]="hiddenOverflowContainer"
[hideSelected]="true"
[disabled]="inFlight">
diff --git a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
index 5187810f5a7..f52c84169fa 100644
--- a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
+++ b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
@@ -56,7 +56,7 @@ export class ProjectStatusEditFieldComponent extends EditFieldComponent implemen
ngOnInit() {
// The timeout takes care that the opening is added to the end of the current call stack.
- // Thus we can be sure that the autocompleter is rendered and ready to be opened.
+ // Thus we can be sure that the select box is rendered and ready to be opened.
let that = this;
window.setTimeout(function () {
that.ngSelectComponent.open();