Add Change Event function to autocomplete in edit popup

1 posts, 0 answers
  1. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 02 Jul 2012 Link to this post

    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..."/>

Back to Top