Hi guys!, today was the first time I use Select2, I was really interested about the multiple select and it worked with only a little bug I want to fix.
As you see It shows the options, but, in the moment I select one the input below moves at its right side:
Here some example I use for this:
Select tag:
<div class="form-group col-sm-3 has-feedback" id="gtipoformulario">
<label class="control-label" for="itipoformulario">Tipo de Formulario</label>
<select class="form-control js-example-basic-multiple" id="iNtipoformulario" name="itipoformulario[]" multiple="multiple">
<option value="">TODOS</option>
<?php foreach ($tRCE as $tmp): ?>
<option value="<?= $tmp->rcet_id ?>"><?= $tmp->rcet_descripcion ?></option>
<?php endforeach ?>
</select>
</div>
Below tag:
<div class="form-group col-sm-3 has-feedback" id="gespecialidad">
<label class="control-label" for="iespecialidad">Especialidad</label>
<select class="form-control" id="iNespecialidad" name="iespecialidad">
<option value="">TODOS</option>
<?php foreach ($tejeRCE as $tmp): ?>
<option value="<?= $tmp->rtp_id ?>"><?= $tmp->rtp_nombre ?></option>
<?php endforeach ?>
</select>
</div>
I want to preserve the original localization of the below input without sacrifice the multiple select2 style.
Can you help me?