Answer the question
In order to leave comments, you need to log in
How to properly organize autocomplite for input?
Hello. Help solve the problem with closing the drop-down list (using autocomplete as an example)
In general, this is a simple input with autocomplite
Let's say I have the following html that implements the autocomplete function
<div class='container'>
<input />
<div class='list'>
<div class='item' onClick = callback >{i.name}</div>
<div class='item' onClick = callback >{i.name}</div>
<div class='item' onClick = callbac k>{i.name}</div>
<div class='item' onClick = callback >{i.name}</div>
.....
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question