how can I implement dropdown suggestions... from the firestore database for any field or any collection in TEXTINPUT and listing out for picking it...
Asked
Active
Viewed 684 times
0
-
Please let me know if the below information was useful, or you are looking for some other information. – Vaidehi Jamankar Sep 23 '22 at 04:40
1 Answers
0
The approach here would be to fetch data from Firestore and map it to a List. There are many ways to fetch data from Firestore, check Retrieving Data List. Once you've done that, the data can be displayed in the form dropdown list using various methods.
Here are a few examples of similar implementations that you are trying to implement.
[2]Load values for a dropdown menu from firebase
[3]Populate react select options array with key value pairs from firebase collection
[4]How to display data from a firebase firestore in React Native
[5]Get List of keys from Firbase database and load to dropdown list in reactjs

Vaidehi Jamankar
- 1,232
- 1
- 2
- 10