I have a page which has a dropdown. On page load, I run a Firebase query to return a list of documents, which contains an ID field in each document.
I also however have an ID stored in my AppState.
What I am trying to do, is have this dropdown contain both the results (ID fields) from my Firebase query AND the item (String) stored in my AppState.
How can I achieve this?
How to set a dropdown as results from Firebase + AppState
Actions & Logic
Firebase query is done, but unsure how to add in my AppState data
No
1 reply