Data and Value Binding
The AutoComplete enables you to configure its predefined list of options and selected value.
To bind the AutoComplete to data, use the
data-items property of the component.
data property accepts both:
The following example demonstrates how to bind the AutoComplete to an array of primitive values.
If the AutoComplete is bound to a dataset of objects, use the
textField property to specify the text of the data objects.
To render the selected value, use the
value property of the AutoComplete. If you set the value through the
value property, hook up to the
onChange event and manually update the value of the