We are building a app where users can tag other users in different posts. The issue is that we can't find a way to return the selected user info from the dropdown, so the user can be tagged when the post is saved.
What we do:
- We have a dropdown that is populated from a collection. We use the standard FF dropdown.
- The displayed info in the dropdown is the User Name, taken from the collection
- Once a User Name is selected, and we click on SAVE, the data is not passed as a reference from the document, instead, it is being passed as a plain string
Question
Is there any way to get the user reference from the document, based on the selection in the dropdown?
Would appreciate any help 🙂
Dropdown - Return document reference? How to?
Resolved
6 replies