This is a migrated thread and some comments may be shown as answers.

Add Change Event function to autocomplete in edit popup

0 Answers 61 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Cyndie
Top achievements
Rank 1
Cyndie asked on 02 Jul 2012, 08:22 PM
How do I add a change event function to an autocomplete that is in a popup editor template. I do not want to use a combobox or dropdownbox because there are too many values, but I want to bind the id value in the data model, not the text field.

<input name="Location" 
    data-source="locationDataSource"
    data-text-field="Combined" 
    data-value-field="id"
    data-filter= "startswith"
    data-role="autocomplete" 
    data-placeholder= "Type the location number..."/>

No answers yet. Maybe you can help?

Tags
AutoComplete
Asked by
Cyndie
Top achievements
Rank 1
Share this question
or