It would be great if the <kendo-listbox> had the possibility to take in a list of selected values, which causes the matching items to be selected.
Currently, the only option I see is to inject the ListBoxComponent as viewChild, and call .select manually, which is quite cumbersome.
Suggestion:
- additionally to the "textField", provide a "valueField" property
- also add a "selectedValues" property, which takes in an array / signal of value properties, which then are automatically selected, whenever its value changes.
See https://www.telerik.com/kendo-angular-ui/components/listbox/api/listboxcomponent
Hi Felix,
An additional input property to define the selected items is a valid request. The team will track demand for this feature and consider it for future implementation.
Regards,
Yanmario
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.