We have a use case where users are choosing which values they'd like to concatenate together, from a list of options.
At times, they may need to concatenate the same thing more than once
Kendo's multiselect seems like the best component for this
... but I'm getting stuck on customizing it's behavior to allow the same value to repeat, when CTRL + CLICK takes place.
- click - should add/remove choices per the usual
- CTRL + CLICK should push the choice onto the multiselect, regardless if the multiselect already has that choice
- Observe whether or not CTRL has been engaged
- rewrite normal deselect handler to honor the required CTRL + CLICK behavior
Things are very close to working, but am unable to get the MultiSelect to dynamically update its value correctly, using Kendo's value() method.
Offending line of code attached in screenshot
and sample Dojo here -> https://dojo.telerik.com/ELeligEY/14
Am I missing something w/ Kendo's API? Should I be approaching this with a different Kendo component?
UPDATE: from scrounging the forums, it appears an underlying architectural design means MultiSelect inherits from something that does not allow repeating values? https://www.telerik.com/forums/allow-duplicate-items
Help with this feature request would be much appreciated.
https://feedback.telerik.com/kendo-jquery-ui/1359475-allow-select-items-in-multiselect-multiple-times
Or guidance on how one might customize the Kendo Multiselect to achieve this kind of use case.
Help much appreciated.