It would be nice to have access to a valueChange event in the autocomplete similar to the other dropdowns. This way when binding against arrays of complex objects, we could receive the whole object selected instead of the single value property out of it.
Hi Andrew,
Did you get any solution for it?
Regards,
Rutvik Nagarkar
a kendoAutoCompleteValueTemplate would also be handy.
I thought I had a workaround for this using the template however, stop prop is called on enter if the popup is open (I get the reasoning). <span (keydown)="getSelectedItem(dataItem)" (click)="getSelectedItem(dataItem)">{{ dataItem.formatted_address }}</span> if you only care about click and never expect the user to hit enter then this could work for you.
I agree this would be great to have access to the selected object. I thought this would be supported as the template exposes the data items but it just complains that the value is not a string. Even if the value change sent the full object, index, and new value that would work as well. But having the selection change would be boss so if you wanted to hijack the selection you could do that before the value change.