Added autocomplete="off" attribute to prevent safari from autocomplete.
This commit is contained in:
parent
28ef42826d
commit
927da9af8c
2 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
<% if @attribute.options.length > 10: %>
|
||||
<div class="columnSelect-search">
|
||||
<%- @Icon('magnifier') %>
|
||||
<input class="js-search">
|
||||
<input class="js-search" autocomplete="off">
|
||||
<div class="columnSelect-search-clear js-clear is-hidden">
|
||||
<%- @Icon('diagonal-cross') %>
|
||||
</div>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
class="searchableSelect-main form-control js-input<%= " #{ @class }" if @class %>"
|
||||
placeholder="<%= @placeholder %>"
|
||||
value="<%= @valueName %>"
|
||||
autocomplete="off"
|
||||
>
|
||||
<div class="searchableSelect-autocomplete">
|
||||
<span class="searchableSelect-autocomplete-invisible js-autocomplete-invisible"></span>
|
||||
|
|
Loading…
Reference in a new issue