From fa766e315fc3621508014fb8505ddcfb93919760 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Wed, 10 Jun 2026 08:01:25 +0200 Subject: [PATCH] Automatically focus the search input when the project selector is opened --- .../header/projects/filterable_tree_view_component.html.erb | 1 + 1 file changed, 1 insertion(+) 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") }