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 incorrect custom option display in time entry form (maybe)

Markus Kahl853e31759792
diff --git a/app/forms/custom_fields/inputs/base/input.rb b/app/forms/custom_fields/inputs/base/input.rb
index 6ea785e1e47..2803e2b37a5 100644
--- a/app/forms/custom_fields/inputs/base/input.rb
+++ b/app/forms/custom_fields/inputs/base/input.rb
@@ -54,6 +54,10 @@ class CustomFields::Inputs::Base::Input < ApplicationForm
)
end
+ def value
+ custom_value
+ end
+
def custom_value
@custom_value ||= @object.custom_value_for(@custom_field.id)
end