I am using this cool Multiple Select plugin
Please look at "The Position" options. I would need to display either 1 text or 5 of 12 selected.
so If I only select 1 option then display that option if I select more than 1 then just state 2 of 12 are selected.
It seems that the default here is set to 4 and I need to override this.
How can I change the default value?
Here is my code
$(function(){
$(".multipleSelectMenuMask").multiselect({
enableFiltering: true,
enableCaseInsensitiveFiltering: true,
selectedClass: null,
nonSelectedText: "Select an option",
includeSelectAllOption: true,
buttonWidth: "100%",
maxHeight: 250
});
});
I figured out the problem.
I am using bootstrap-multiselect not Multiple Select plugin
the option is
numberDisplayed