Method value() returns an array reference of selected values which is not a desirable behaviour. Method value() should return cloned array instead.
If I get selected values by calling method value() into variable eg. selectedValues and then later set those selected values by calling value(selectedValues) the control is empty, because kendoMultiSelect is modifying the same array object. I need to clone those array which i think should be done in kendoMultiSelect.value() method.
Please see working example on
http://jsbin.com/eYUwUqA/1/edit
Best regards
Luka Robnik
If I get selected values by calling method value() into variable eg. selectedValues and then later set those selected values by calling value(selectedValues) the control is empty, because kendoMultiSelect is modifying the same array object. I need to clone those array which i think should be done in kendoMultiSelect.value() method.
Please see working example on
http://jsbin.com/eYUwUqA/1/edit
Best regards
Luka Robnik