Looking to develop a component that combines Text Input and FlatList to capture user input from both manual entry and a dropdown list. Has anyone successfully created a similar setup? I'm facing challenges in making it happen.
Here's the scenario: Imagine having an input field where users need to enter a location. As they start typing, suggestions appear like "Paris", "Pasadena," etc. However, if the user doesn't want any of these options and instead prefers to enter a location not on the list, I aim to create a component that offers flexibility for either choice: selecting from the list or entering a custom location.