How can I make a select
work also as a search field? Type, the client types as if typing in a input text
for example, and the select
options are being filtered according to what he typed. I'm not sure if it would be a select
, but I need to do it somehow.
Currently it looks like this:
<select id="id_mfuncao" name="id_mfuncao" class="form-control">
@foreach($mfuncoes as $mfuncao)
<option value="{{ $mfuncao->id }}">{{ $mfuncao->nome }}</option>
@endforeach
</select>