Hi,
I was a little flabbergasted when I found out that the "AutoComplete" component only handles "Simple Data" - even though there is a parameter called "valueField" and a subtopic under "Data Binding" called "Complex Data". It is impossible to display i.e. the Name of a Person and have the ID of that person as the value of the "AutoComplete" component. Can you please enable this, it is imperative to working with an autocomplete textfield that value and text can be _different_ and that a value other than the selected text can be accessed.
const Members = [{name:
'Peter'
, value:1},{name:
'Paul'
, value:2},{name:
'Mary'
, value:3}]
<
kendo-autocomplete
#viewBandmembers [(ngModel)]="bandmembers"
name
=
"bandmembers"
[data]="Members" [filterable]="true" [valueField]="'value'"></
kendo-autocomplete
>
This will display 1,2 and 3 in the AutoComplete component!
Thanks in advance
Benjamin Müller