Email address lists - and other list inputs for text items - in various apps take text input and render each item in a tag - not unlike the MultiSelect.
A widget in similar form to the MultiSelect could serve this purpose, taking string input from the text input element - as well as being able to filter on active text.
I have rigged a MultiSelect with a view model to perform this function: dojo example. Its not perfect, but seems to work ok.
Hi Martin,
No, no further features required at this point. With your help, key-press handling override as well as other functionality were set up with a customised MultiSelect.
Thank you.
Hello, Steven,
I am glad to understand that you are making progress with the requirement. Just to be sure, could you please let us know if some feature is still needed, or whether you need some additional support? In case of the latter, kindly open a new support ticket on the matter where we can continue the conversation and provide further assistance.
Regards,
Martin
Progress Telerik
Hi Martin,
Yes, this is looking like functionality that can be achieved easily enough through widget configuration and event logic in something like the existing MutliSelect.
I have just re-implemented something similar to me example with the MultiSelect widget to use as a custom parameter editor for cases of multi-value string/numeric parameters that have no "available" values, allowing users to filter by an arbitrary list of values or key-phrases. Using direct jQuery initialisation avoided working around MVVM observable members. Adding handling for "Ctrl-<enter>" etc. type key-presses is something I'll still need to work out.
"option Popup list" is just the value list of the MutiSelect - I understand a "popup" is a component wdiget for this.
Thank you,
Steven
Hello, Steven,
Most of the listed requirements can be achieved in the MultiSelect either through the built-in features or through custom code.
What is currently not available out-of-the box:
Let me know if I am missing something from the listed requirements.
Regards,
Martin
Progress Telerik
Hi Neli,
I mentioned a ListView as I imagined that it might be a better candidate on which to base my suggested widget functionality, but now I am more familiar with the MultiSelect widget, it could work well as a starting point. I defer to your/Teleriks expertise on Kendo widgets as to whether the suggested functionality would be a worthwhile extension of MultiSelect or ListView functionality or even something to develop as a new widget.
As to the suggested features, I refer again to my rough example on dojo (email input, separators: [",", ";", " "] , RegEx check).
The main widget features:
Further desirable features:
Perhaps this is a little too easily implemented with a standard MultiSelect, but for my email input example, at least, this did not seem clean or simple to achieve with MVVM initialisation.
Thanks,
Steven
Hello Steve,
To clarify the requirements - the request is for a scenario where input fields are displayed in a ListView. The inputs can be added or removed from the ListView dynamically. Also the user can select from the inputs and the list with the selected values, could be rendered outside of the ListView, for example.
Could you please confirm if this is the expected result. Also, by input fields, do you mean a component such as Kendo TextBox or some kind of non-ediable tag?
Looking forward to your reply.
Regards,
Neli
Progress Telerik
Hi Martin,
Apologies if I wasnt clear. Also, as Im not too practised on Kendo UI, there was a level of guess work without much further investigation on my part, to the feasibility of a better implementation using an existing widget.
The main point was that if this "list input" idea could be implemented easily enough using an existing widget (possibly ListView), I can understand that you would not want to implement a new widget - and additionally, in that case, maybe such an implementation might make a useful example on your demos or documetation for that widget.
Hello, Steven,
Thank you for the additional explanation.
While I understand the requirement about formatted tags as in the MultiSelect example you shared, I am not sure how the scenario fits with the ListView. Could you please let me know what I am missing?
Regards,
Martin
Progress Telerik
Hi Martin,
This originated as I wanted to have an email list input that was better than a text field with comma separated email addresses.
Seeing how some email clients support a dynamic input box that supports text input and renders values in a formatted tag/box - and that similar inputs are used for things like category tag lists for online posts etc, it seemded a good idea for a new input control. This could be potentially data bound to existing data for an "available" values list as well as the current "selected" list and potentially support input of "new" items not in the available list. Though the idea was to work with a simple list of strings and so just work with a simple array output.
I implemented something similar to the linked dojo example. After some further thought, I was guessing that maybe something similar could be better implemented in a ListView. So unless this would be suited to a new control, maybe something like this could be added as an example ListView implementation in documentation or the Demo area.
Hello, Steven,
Thank you for submitting the feature request!
Just to clarify, could you please share if you are requesting a new component, or a feature in an already existing one? Some additional information will be highly appreciated.
Looking forward to your reply.
Regards,
Martin
Progress Telerik