In my usage scenario I wanted to append a single choice select2 widget to a list of items that require complex formatting, however as multiple items can be added it would be nice to be able to use closeOnSelect. Currently it is not supported on single choice widgets.
Added closeOnSelect parameter for single value selects2 widgets
if you want to add multiple items doesnt it make sense to use the multiselect? also please rebase your commit.