Support the ongoing development of →
Database Forms Requests
Last updated 2 years ago.

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="; rel="stylesheet" />

<script src=";></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>
// In your Javascript (external .js resource or <script> tag)
$(document).ready(function() {

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...

Last updated 5 years ago.

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.