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 announcement form date picker initial value

Benjamin Bädorf290d79aae429
diff --git a/app/views/announcements/edit.html.erb b/app/views/announcements/edit.html.erb
index 6a6441b358b..84bf1e11490 100644
--- a/app/views/announcements/edit.html.erb
+++ b/app/views/announcements/edit.html.erb
@@ -24,6 +24,7 @@
<div class="form--field-container -visible-overflow">
<%= angular_component_tag 'op-single-date-picker',
inputs: {
+ value: @announcement.show_until,
id: "announcement_show_until",
name: "announcement[show_until]"
}