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
set the id as a variable
Behrokh Satarnejad7cb01433b8c3
diff --git a/app/components/projects/configure_view_modal_component.html.erb b/app/components/projects/configure_view_modal_component.html.erbindex 73a7a577a1c..691908997ac 100644--- a/app/components/projects/configure_view_modal_component.html.erb+++ b/app/components/projects/configure_view_modal_component.html.erb@@ -26,13 +26,13 @@selected: selected_columns,protected: helpers.protected_projects_columns_options,name: COLUMN_HTML_NAME,- id: 'columns-select',+ id: COLUMN_HTML_ID,+ dragAreaName: "#{COLUMN_HTML_ID}_dragarea",+ formControlId: "#{COLUMN_HTML_ID}_autocompleter",inputLabel: I18n.t(:'queries.configure_view.columns.input_label'),inputPlaceholder: I18n.t(:'queries.configure_view.columns.input_placeholder'),dragAreaLabel: I18n.t(:'queries.configure_view.columns.drag_area_label'),- appendToComponent: true,- dragAreaName: "columns-select_dragarea",- formControlId: "columns-select_autocompleter"+ appendToComponent: true}%><% end %><% end %>diff --git a/app/components/projects/configure_view_modal_component.rb b/app/components/projects/configure_view_modal_component.rbindex 03dcf504b97..d802e188e9c 100644--- a/app/components/projects/configure_view_modal_component.rb+++ b/app/components/projects/configure_view_modal_component.rb@@ -34,6 +34,7 @@ class Projects::ConfigureViewModalComponent < ApplicationComponentMODAL_ID = "op-project-list-configure-dialog"QUERY_FORM_ID = "op-project-list-configure-query-form"COLUMN_HTML_NAME = "columns"+ COLUMN_HTML_ID = "columns-select"options :query