kendo-labs / angular-kendo

A project to create a robust set of Angular.js bindings for Kendo UI widgets
474 stars 209 forks source link

AutoCompleteComponent: Arrays of Complex Data #410

Closed moxival closed 7 years ago

moxival commented 7 years ago

Hi, we are testing the AutoCompleteComponent and it is confusing.

When binding to array of complex data (objects) the auto complete does not emit the selected object but rather the value of the matching "valueField" property of the selected object which actually defeats the purpose of binding to array of objects.

Plunker: http://plnkr.co/edit/ryLAkm0Ohwi1JvYOONR9?p=preview

The DropDownList works with array of objects as expected, it emits objects in the ngModel: http://plnkr.co/edit/0F3h1CoBzq8Qav2sTkvO?p=preview For reference the jQuery kendo autocomplete works as expected as well: http://demos.telerik.com/kendo-ui/autocomplete/mvvm

moxival commented 7 years ago

That is issue is in the wrong repository (must have been asleep or something) - please ignore!