awesomplete icon indicating copy to clipboard operation
awesomplete copied to clipboard

Dynamic Data as list based on user input just like google search

Open kruvy opened this issue 9 years ago • 5 comments

I am not sure, if it is possible with the current version. If it is so then please ignore my suggestion.

Take Input from user like 2 or 3 characters and based on that get JSON data from huge Database (Like villages of India). Here, It is important that user gets lists of exact starting characters of a string first. If such data is not available than it should try to find it anywhere in the string.

I think Google is the best example what I am suggesting. May be, In order to implement such functionality, there is a more work it should be done at backend side, I guess.

If so, please host a demo for such dynamic autocomplete implementation.

kruvy avatar Mar 24 '15 06:03 kruvy

This should already be possible with a bit of JS, but there should definitely be an example of how to do this in the advanced examples as it’s non-trivial. Any takers?

LeaVerou avatar Mar 24 '15 15:03 LeaVerou

:+1: Would love to use the autocompleter this with a dynamic source (Ajax). Can you point us into the right direction on how to make this possible?

SimonSteinberger avatar Apr 30 '15 15:04 SimonSteinberger

Any example now?

liuwenchao avatar Oct 17 '15 08:10 liuwenchao

It'd be so nice to see that functionality! Any example??

airomero avatar Nov 25 '15 16:11 airomero

See #15 and https://github.com/LeaVerou/awesomplete/issues/17209

Lewiscowles1986 avatar Nov 29 '19 02:11 Lewiscowles1986