Jquery Tokeninput Use search results instead of hint -
i'd tokeninput skip text , search tokens right away.
i have pretty short list of tokens, i'd display them user, rather have user try , guess right tokens choose.
seem's there's not option looks i'll have hack it?
any hints method need override , how?
line 195ish there's show_dropdown_hint()
, want replace.
you'll need replace populate_dropdown(query,results)
, show_dropdown()
.
for populate_dropdown()
parameters, should use empty string query
- relates section of string bolded in text, , results should json array (?) of tokens.
not tested @ all, that's rough guess, hope can figure else out!
Comments
Post a Comment