Hello,
I have this for my autocomplete:
<input id="MemberSelector" name="MemberSelector" type="text" class="MemberSelector" />
I setup the autocomplete and it works great. Later on in my MVC view, I use this to grab the selected value:
var auto = $(f).find("input.MemberSelector").data("kendoAutoComplete");
var item = auto.ul.find(".k-state-selected > span");
It finds the correct values for the items with a selection. However, an interesting side-effect; IE 10 puts a clearing "X" in the input when you type in text. When you click on that X, the input is cleared, but it's retaining the value. I've confirmed it is still retaining the selection of the item after you clear it.
Is that the correct behavior, and is there a work-around?
Thanks.
I have this for my autocomplete:
<input id="MemberSelector" name="MemberSelector" type="text" class="MemberSelector" />
I setup the autocomplete and it works great. Later on in my MVC view, I use this to grab the selected value:
var auto = $(f).find("input.MemberSelector").data("kendoAutoComplete");
var item = auto.ul.find(".k-state-selected > span");
It finds the correct values for the items with a selection. However, an interesting side-effect; IE 10 puts a clearing "X" in the input when you type in text. When you click on that X, the input is cleared, but it's retaining the value. I've confirmed it is still retaining the selection of the item after you clear it.
Is that the correct behavior, and is there a work-around?
Thanks.