Hi there, how do you get the selected value of an AutoComplete?
It seems I can only get the Text that was typed in the box. But I'm trying to get an Id value of a row loaded in the autocomplete's list of items. I was hoping it would work like a dropdown.
I see it has a ValueExpression property, but there's no documentation on it, it appears, and I can't tell what it does. I tried using the Change event a couple different ways:
- ((args) => LoadSelectedItem(args))
But it's still giving me only the text that was typed -- not anything about the underlying selected item.
I could make it work if there were a
int SelectedIndex property, for example. Just having the text that was typed in the box doesn't really help me, however.