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:
parent
7d5d2626c2
commit
9a09532718
|
@ -6,6 +6,7 @@
|
||||||
<%= @attribute.required %>
|
<%= @attribute.required %>
|
||||||
<%= @attribute.autofocus %>
|
<%= @attribute.autofocus %>
|
||||||
value="<%= @attribute.value %>"
|
value="<%= @attribute.value %>"
|
||||||
|
tabindex="-1"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="searchableSelect-main form-control js-input<%= " #{ @attribute.class }" if @attribute.class %>"
|
class="searchableSelect-main form-control js-input<%= " #{ @attribute.class }" if @attribute.class %>"
|
||||||
|
|
Loading…
Reference in a new issue