Declined
Last Updated: 10 Feb 2015 11:01 by ADMIN
Imported User
Created on: 09 Feb 2015 18:16
Category: Kendo UI for jQuery
Type: Feature Request
2
Be able to use templates for input text and widget value in the Autocomplete.
Let's say I'm using an autocomplete to choose a country: I know I can format the list with a template, but at the moment I can't have the inner value of the widget to be the ISO code and the input text value to be the description + ISO country code.
For example, the user types "ita" in the input box, the list shows an element with "[flag] Italy". When the user clicks on that row, the input box changes to "Italy - IT", and the Autocomplete istance would return "IT".
1 comment
ADMIN
Telerik Admin
Posted on: 10 Feb 2015 11:01
The autocomplete widget supports plain text for its value. Therefore, if you set appropriate value through the value method (http://docs.telerik.com/kendo-ui/api/javascript/ui/autocomplete#methods-value) of the widget, you should be able to achieve what you want.