diff --git a/app/components/header/projects/filterable_tree_view_component.html.erb b/app/components/header/projects/filterable_tree_view_component.html.erb index b6129714355..aa484ff9959 100644 --- a/app/components/header/projects/filterable_tree_view_component.html.erb +++ b/app/components/header/projects/filterable_tree_view_component.html.erb @@ -36,6 +36,7 @@ See COPYRIGHT and LICENSE files for more details. filter_input_arguments: { name: "filter", label: t(:label_filter), visually_hide_label: true, + autofocus: true, data: { test_selector: "op-header-project-select--search" } }, no_results_node_arguments: { data: { test_selector: "op-header-project-select--no-results" }, label: I18n.t("filterable_tree_view.no_results_text") }