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