This question is locked. New answers and comments are not allowed.
I feel like I'm missing something obvious here...
I am trying to use the autocomplete box to search a list of items (categories in one case). It is part of an editor -- I'm showing a recipe that has a list of categories it belongs to. When tapping on a category, I want to use the autocomplete box to show the item that they've tapped on and allow them to change it. I've got the possible items bound properly, proven by the fact that when I start typing, I get a list of items that match. My issue is that I'm drawing a blank on how to tell the control what the existing value is and how to get the new value back when one is selected. A pointer in the right direction would be much appreciated.
I am trying to use the autocomplete box to search a list of items (categories in one case). It is part of an editor -- I'm showing a recipe that has a list of categories it belongs to. When tapping on a category, I want to use the autocomplete box to show the item that they've tapped on and allow them to change it. I've got the possible items bound properly, proven by the fact that when I start typing, I get a list of items that match. My issue is that I'm drawing a blank on how to tell the control what the existing value is and how to get the new value back when one is selected. A pointer in the right direction would be much appreciated.