Adding document reference to ChoiceChip item

Widgets & Design

Hi friends - Please help with a simple problem. I have a choicechip element on my page. I want it to be populated with name field of my firestore collection documents. This part is easy. I also want to attach document reference to each choicechip item so that after user has selected choice chip, I can refer to the corresponding document in my firestore collection. how can i do that?

What have you tried so far?

I have explored forums to find an answer to this but couldn't find any. Also I noticed that dropdown element gives such a capability to have dropdown items use different source for labels displayed to end user and value associated with each entry. It seems choicechip element doesn't offer that capability.

Did you check FlutterFlow's Documentation for this topic?
No
4 replies