The example app that uses it (‘Search Hints Example’)
Search Hints Example is where the results list is set up. The get_search_keys method of the SearchHintsDemo form is what returns the results list.
Currently it is:
def get_search_keys(self, **event_args):
"""Get the search keys from the Data Table."""
return anvil.server.call('get_search_keys')
You need to change it to:
def get_search_keys(self, **event_args):
"""Get the search keys from the Data Table."""
hints = ["cat", "dog", "mouse"]
return [{'entry': h} for h in hints]
The anvil.server.call('get_search_keys') returns something that behaves like a list of dictionaries, i.e.: