Autocomplete dropdown in React Native | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Autocomplete dropdown in React Native

Hi, I am trying to build an autocomplete dropdown Text Input in react native and really not grasping the concept. I have tried to read through the code that maxkordiyak provided on github, but it leaves me puzzled. Is there anyone versed enough in react native to help me understand? https://github.com/maxkordiyak/react-native-dropdown-autocomplete/blob/master/README.md I do not get what the api is used for and want to avoid that in my code - all i need is to offer the user a „live as you type“ autocomplete dropdown menu from an array of strings.

31st Jan 2020, 1:07 AM
phil
4 Answers
+ 1
First of all, do you know how to do that with vanilla JavaScript?
31st Jan 2020, 7:42 AM
Gordon
Gordon - avatar
0
https://code.sololearn.com/WKjgxxlZAp13/?ref=app yes - this is what i am looking for
23rd Feb 2020, 7:14 AM
phil
0
thanks Gordon, but I still fail bringing it to life in React Native. Am I missing something obvious in the discussion you refer to that helps with that functionality in React Native?
23rd Feb 2020, 8:11 AM
phil