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

Fix output to the admin date picker

Oliver Güntherb8fe691b58ed
diff --git a/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html b/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
index 439c3ea0c2d..2c1e4b60c63 100644
--- a/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
+++ b/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
@@ -11,14 +11,15 @@
</select>
</span>
<span class="form--text-field-container -slim" *ngIf="valueVisible">
- <op-single-date-picker (onChange)="updateField($event)"
- [id]="fieldId + '_visible'"
- [name]="fieldId + '_input'"
- [initialDate]="fieldValue"
- classes="form--text-field">
+ <op-single-date-picker
+ [id]="fieldId + '_visible'"
+ [name]="fieldId + '_input'"
+ [initialDate]="fieldValue"
+ (changed)="updateField($event)"
+ classes="form--text-field">
</op-single-date-picker>
</span>
<input type="hidden"
[name]="fieldName"
- [value]="fieldValue" />
+ [value]="fieldValue"/>
</div>