Searchable Select: fix tab-back bug

make the shadow input non-tabable via tabindex=“-1” to prevent it from accepting tabs, fixes #1958
This commit is contained in:
Felix Niklas 2018-07-29 16:36:52 +02:00
parent 7d5d2626c2
commit 9a09532718

View file

@ -6,6 +6,7 @@
<%= @attribute.required %>
<%= @attribute.autofocus %>
value="<%= @attribute.value %>"
tabindex="-1"
>
<input
class="searchableSelect-main form-control js-input<%= " #{ @attribute.class }" if @attribute.class %>"