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
Use project autocompleter for custom actions
Benjamin Bädorfae681821149d
diff --git a/app/views/custom_actions/_form.html.erb b/app/views/custom_actions/_form.html.erbindex f1fef43df02..4554ba14552 100644--- a/app/views/custom_actions/_form.html.erb+++ b/app/views/custom_actions/_form.html.erb@@ -22,11 +22,22 @@<div class="form--field-container"><div class="form--select-container -middle">- <%= render partial: 'augmented/autocomplete_select_decoration',- locals: { input_name: input_name,- input_id: "custom_action_conditions_#{condition.key}",- select_options: select_options,- multiple: true } %>+ <% if condition.key.to_s == 'project' %>+ <%= angular_component_tag 'op-project-autocompleter',+ inputs: {+ multiple: true,+ APIFilters: [],+ name: input_name+ },+ id: "custom_action_conditions_#{condition.key}"+ %>+ <% else %>+ <%= render partial: 'augmented/autocomplete_select_decoration',+ locals: { input_name: input_name,+ input_id: "custom_action_conditions_#{condition.key}",+ select_options: select_options,+ multiple: true } %>+ <% end %></div></div></div>