Save a reference to a Doc after selection in DropDown or ChoiceChips (how to?)

Resolved

Hi all!

Thanks for the new community first of all, I always had trouble signing up for the old one ๐Ÿ˜„

I have the following challenge:

A firebase collection B referenced from another firebase collection A.

When editing a document a of A users shall select which document b of B shall be referenced from a using a dropdown or a choicechip field. The dropdown rows / choice chips shall be labeled with the 'label' field of the referenced documents (this I managed using the "Defined Options -> Map List Items" setting.

What I didn't manage, yet, is how to get the Reference (!) of the selected document to save it to the respective field as the dropwdown/choice chip field will return the string b.label instead of ref b.Reference.

Appreciating any help! :)

3
16 replies