0
Я использую David bootstrap multiselect http://davidstutz.github.io/bootstrap-multiselect/, и я не могу найти способ отключить модификацию меток, когда отмечены флажки. Eg. мой код:Bootstrap multiselect
<select multiple="multiple" name="more[]" id="more">
<option value="Centres d'intérêt">Centres d'intérêt</option>
<option value="Concession">Concession</option>
<option value="Délai d'achat">Délai d'achat</option>
<option value="Usage">Usage</option>
<option value="Financement">Financement</option>
</select>
и JS:
$('#more').multiselect({
includeSelectAllOption: false,
preventInputChangeEvent: true,
enableFiltering: true,
numberDisplayed: 1000,
maxHeight: 300,
nonSelectedText: "<span class='label-m'>{{ tran('admin/contacts/table.more') }}</span>",
allSelectedText: "<span class='label-m'>{{ tran('admin/contacts/table.more') }}</span>",
enableCaseInsensitiveFiltering: true,
templates:{
button: '<button type="button" class="multiselect dropdown-toggle" data-toggle="dropdown" data-placement="bottom"></button>'
},
onChange: function(option, checked, select) {
}
});
, И пред how it looks и how it should look even when checkbox is checked
Edit: jsfiddle демо: http://jsfiddle.net/y7c9zus1/3/
Благодарим Вас за все ваши ответы!
Вы можете воспроизвести проблему с помощью скрипку? –