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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Correctly set binding label
Oliver Güntherfca8ba744836
diff --git a/app/views/custom_actions/_form.html.erb b/app/views/custom_actions/_form.html.erbindex a3e4dec9077..0a36eeb5cec 100644--- a/app/views/custom_actions/_form.html.erb+++ b/app/views/custom_actions/_form.html.erb@@ -28,6 +28,7 @@resource: "projects",inputName: input_name,appendTo: "body",+ labelForId: "custom_action_actions_#{condition.key}",inputValue: condition.values}%>@@ -39,6 +40,8 @@items: condition.allowed_values.map { |v| { id: v[:value], name: v[:label] } },model: condition.value_objects.map { |v| { id: v[:value], name: v[:label] } },inputName: input_name,+ bindLabel: "name",+ bindValue: "id",labelForId: "custom_action_conditions_#{condition.key}",appendTo: "body",}@@ -74,6 +77,7 @@resource: "projects",inputName: input_name,appendTo: "body",+ labelForId: "custom_action_actions_#{action.key}",inputValue: action.values.first}%>@@ -85,6 +89,8 @@items: action.allowed_values.map { |v| { id: v[:value], name: v[:label] } },model: action.value_objects.map { |v| { id: v[:value], name: v[:label] } },inputName: input_name,+ bindLabel: "name",+ bindValue: "id",labelForId: "custom_action_actions_#{action.key}",appendTo: "body",}