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

Hide selected user names from the autocompleter.

Dombi Attilacf61c98d858f
diff --git a/app/components/filter/filter_component.rb b/app/components/filter/filter_component.rb
index 73846291632..6b47edb8b1c 100644
--- a/app/components/filter/filter_component.rb
+++ b/app/components/filter/filter_component.rb
@@ -88,6 +88,7 @@ module Filter
def user_autocomplete_options(filter)
{
component: "opce-user-autocompleter",
+ hideSelected: true,
defaultData: false,
placeholder: I18n.t(:label_user_search),
resource: "principals",
@@ -98,7 +99,6 @@ module Filter
{ name: "member", operator: "=", values: Project.visible.pluck(:id) }
],
searchKey: "any_name_attribute",
- inputValue: filter.values,
focusDirectly: false
}
end