Forum Academy Marketplace Showcase Pricing Features

Accessing Multiselect Dropdown Configuration Options

The Select2 jQuery script as used by the Multiselect Dropdown plugin has additional configuration options that can be set with javascript.

e.g. for keeping the dropdown open on select

$('#mySelect2').select2({
  closeOnSelect: false
});

While I can add an HTML element to run this bit of script, I can’t find an ID to reference my dropdown (i.e. #mySelect2). Adding an ID to the element does not seem to help, and there are no IDs attached to the Select2 element in the first place.

Any assistance would be awesome!

2 Likes

I’m having the exact same problem. The run javascript action from the toolbox plugins also didn’t work.