Dropdown Laravel Blade yang Dapat Dicari
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/...; rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/s...;></script>
<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();
});
Wild Wolf