Line 195ish there's a show_dropdown_hint()
, which is what you want to replace.
You'll need to replace it with populate_dropdown(query,results)
and show_dropdown()
.
For the populate_dropdown()
parameters, you should use an empty string for query
- as that only relates to the section of the string which is bolded in the text, and results should be a JSON array (?) of all your tokens.
Not tested at all, but that's a rough guess, hope you can figure anything else out!