Hi .
I am trying to use autocomplete with customadaptor.
I have a service that gets the List of objects but i need to get the value entered in the autocomplete.
I tried to use the example explained in the documentation.
public override async object Read(DataManagerRequest dm, string key = null)
{
var locationService = new LocationService();
var predictions = await locationService.GetPredictions(enteredvalue)
IEnumerable<Prediction> DataSource = predictions;
if (dm.Search != null && dm.Search.Count > 0)
{
DataSource = DataOperations.PerformSearching(DataSource, dm.Search); //Search
}
}
how can i reach the entered value here? from dm.search is giving a list of search filters but i need the text written inside the autocomplete box.
thanks o