Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

React Native - Text Input that allows user to enter input but also choose input from a list of options after he start typing

$
0
0

I want to create a component with Text Input and FlatList that accepts input values from user but also from a dropdown list after he starts typing.Has anyone made an implementation like this? I am struggling to create it.

Explanation:Say for example you have a input field where you have to enter a location. When the user starts typing for example “Pa” , a list of choices is displayed like “Paris”, “Pasadena” etc, but the user doesn’t want any of the choices but instead wants to write another location that is not displayed on the list. I want to create a component that allows the user to choose between these two functionalities: write the location or choose from the list


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>