lordfriend/nya-bootstrap-select

Disable autocomplete

Closed this issue · 1 comments

If you're using live search, then I'd like to be able to disable the browser's autocomplete, otherwise the two get in the way of each other in some browsers.

i.e. I would like to get this Html:

<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"></div>

as the search box.

Is there a way to do this?

Found it. It involves changing this line:

var SEARCH_BOX = ...

Never mind! Thanks.