I wish to add functionality to the MultiSelect in order to capture the "paste" event, parse the input and if any values in the pasted input match are options to the MutliSelect, select them.
Below is the code I used to extend the MutliSelect. The parsingMutliSelect.value(...) call is indeed changing the values, however the UI is not updating and displaying the values as tags within the input field for the MultiSelect. In fact, the error "TypeError: Argument 1 of Node.removeChild is not an object" keeps occurring when the parsingMultiSelect._change() call is made. This error occurs at the line "tagList.removeChild(tagList.children[removedItem.position]);" within the _selectValue function definition within the MultiSelect configuration (kendo.multiselect.js).
Using my FireBug console, I can successfully get the MutliSelect to perform as expected by using the .value() and .trigger("change") methods on the MultiSelect instance. Why can I not seem to successfully set values from within the MutliSelect extension definition?
...and a jsFiddle: https://jsfiddle.net/Lvvwzmyv/3/. Try pasting a single value: "0002X" and try pasting multiple values: "0002X, 0004X, 0005X" and observe the unintended behaviour.