risuiowa / rails-jquery-autocomplete

An easy and unobtrusive way to use jQuery's autocomplete with Rails 3 and later.
MIT License
212 stars 80 forks source link

data-auto-focus not working #93

Closed mulite closed 6 years ago

mulite commented 6 years ago

Option data-auto-focus ist not working in Firefox or IE. <%=autocomplete_field_tag :sw_name, g_sw_name, autocomplete_sw_name_web_index_path, :id_element => "#autoc_sw_id", placeholder: 'Schlagwort (bitte auswählen)', 'data-auto-focus' => true, class:"form-control"%> Autocomplete works fine. But the focus at the first autocompleted item doesn't work. Any ideas?