1

I need to implement autocomplete in client input when its basic list exists in the server.

So I created a function in the server that accepts text and returns a filterd list and now I have to use it in the client with the url of the server's function. My client build with Html/JS with redux.

Another [important] thing I need is not to access the url any keydown of the input, because I have certain rules (for optimization) that I would like to check before accessing to the server. (for example : start the search only from the second letter...)

Is there a built-in autocomplete that gets a url server for its search instead of getting a static list, and I can control that it's search will not fired in any keydown?

If not, what is the best way to implement it?

3
  • With an ajax call like this : stackoverflow.com/questions/21385892/… Commented Nov 14, 2018 at 10:41
  • @CrazyProg. I see this. but I don't use ajax... Commented Nov 15, 2018 at 8:09
  • Why not use ajax? Commented Nov 15, 2018 at 9:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.