Tag/Multiselect Edit feature with option to enable/disable this feature

Tag/Multiselect Edit feature with option to enable/disable this feature
How to use:
 @Html.BsSelectFor(m => m.Example,null
new Dictionary<string, object> { { "select2TagsOpts", new Dictionary<string, object> { { "editOnClick", true } } } })

True for editable/ False for readonly