If I'm not misunderstand your question, what you need is search dropdown list. Myself facing this problem recently and choice to use 'Select2'.
In order to use Select2, you just need to include the following lines of code in the <head> section of your page.
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
And then, you could use jQuery function to make select list searchable.
<select class="js-example-basic-single" name="state">
<option value="AL">Alabama</option>
...
<option value="WY">Wyoming</option>
</select>
// In your Javascript (external .js resource or <script> tag)
$(document).ready(function() {
$('.js-example-basic-single').select2();
});
If this doesn't work, you could use key word 'pulldown search list' or 'dropdown search list' to ask google.
Here is a step by step full tutorial with example demo: Laravel 5 - Dynamic Autocomplete search using Select2 JS
I hope it can help you...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community