We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a9012 commit 14beaa8Copy full SHA for 14beaa8
lib/autocomplete.js
@@ -21,6 +21,7 @@ inputBox.onkeyup = (e)=>{
21
//filtering array value and user characters to lowercase and return only those words which are start with user enetered chars
22
return data[2].toLocaleLowerCase().startsWith(userData.toLocaleLowerCase());
23
});
24
+ // Uniq the list
25
emptyArray = emptyArray.map((data)=>{
26
// passing return data inside li tag
27
return data = '<li>'+ data[2] +'</li>';
0 commit comments