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

Remove duplicate hidden input tag

Oliver Günthera3114fa2f733
diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb
index 04185ce9008..dae1f5ef1ab 100644
--- a/app/views/groups/_users.html.erb
+++ b/app/views/groups/_users.html.erb
@@ -53,7 +53,6 @@ See COPYRIGHT and LICENSE files for more details.
<fieldset class="form--fieldset">
<legend class="form--fieldset-legend"><%=t(:label_user_new)%></legend>
<div class="form--field -vertical">
- <%= hidden_field_tag :user_ids, nil %>
<op-user-autocompleter data-name='"user_ids"'
data-additional-filter="<%= autocompleter_filters(@group).to_json %>"
class="new-group-members--autocomplete">
diff --git a/app/views/members/_member_form.html.erb b/app/views/members/_member_form.html.erb
index 50eb596ede2..662fe5f55ed 100644
--- a/app/views/members/_member_form.html.erb
+++ b/app/views/members/_member_form.html.erb
@@ -44,7 +44,6 @@ See COPYRIGHT and LICENSE files for more details.
%>
<%= styled_label_tag :member_user_ids, user_id_title %>
- <%= hidden_field_tag "member[user_ids][]", nil %>
<%= angular_component_tag 'op-members-autocompleter',
inputs: {
name: "member[user_ids][]",