Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72388

Bootstrap autocomplete dropdown does not filter search

$
0
0

I can't figure out how to use Bootstrap's autocomplete dropdown to filter the results as I am typing in the search box. Currently, when I type a word, all of the options possible will appear in the dropdown and matching partial strings will be bolded. Is there a way to make it so that only the options with partial matches appear in the dropdown as I continue typing? This is my current code for reference:

<select class="form-control basicAutoSelect" name="simple_select"
            placeholder="type to search..."
            data-url="test-list.json" autocomplete="off"></select>

<script>
    $('.basicAutoSelect').autoComplete();
</script>

Viewing all articles
Browse latest Browse all 72388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>