<select class="form-control selectpicker" id="specialty_id" data-live-search="true" tabindex="-98" name="specialty_id" >
<option selected="" value="0" id="ee" <?php if(isset($_GET['sp_id']) && $_GET['sp_id'] == 0): ?>{{ 'selected="selected"' }} <?php endif; ?>>Choose a Sp</option>
@foreach($searchdropdown['dsp'] as $dsptext)
<option value="{{ $dsptext->spect }}" <?php if(isset($_GET['sp_id']) && $_GET['sp_id'] == $dsptext->spect): ?>{{ 'selected="selected"' }} <?php endif; ?>>{{ $spdata->sp }}</option>
@endforeach
</select>
How can I add placeholder to that input text in selectbox. That textbox is generated dynamically. I researched about this but unable to found any helpful content. Please help me for this.
for example : Refer this link https://silviomoreto.github.io/bootstrap-select/examples/#live-search