From 9a09532718b640db9c6f16e12bc1e2b3b576bba4 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Sun, 29 Jul 2018 16:36:52 +0200 Subject: [PATCH] Searchable Select: fix tab-back bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit make the shadow input non-tabable via tabindex=“-1” to prevent it from accepting tabs, fixes #1958 --- .../javascripts/app/views/generic/searchable_select.jst.eco | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/views/generic/searchable_select.jst.eco b/app/assets/javascripts/app/views/generic/searchable_select.jst.eco index ea66976d6..70259c5c8 100644 --- a/app/assets/javascripts/app/views/generic/searchable_select.jst.eco +++ b/app/assets/javascripts/app/views/generic/searchable_select.jst.eco @@ -6,6 +6,7 @@ <%= @attribute.required %> <%= @attribute.autofocus %> value="<%= @attribute.value %>" + tabindex="-1" > "